Skip to content

[Modal] Large modals with less background and detachable: false get cut with wrong top positioning #1079

@lubber-de

Description

@lubber-de

Bug Report

The #1013 unfortunately introduced another positioning issue when detachable:false is used and the modal is a bit larger

Steps to reproduce

  1. Look at http://jsfiddle.net/bkh17Lgy/
  2. Click on "Show modal" at the bottom
  3. See the modal is cut at the top

Expected result

Modal is displayed centered

Actual result

Modal gets cut because top position has wrong calculated value

Testcase

2.7.8 with applied #1013

http://jsfiddle.net/bkh17Lgy/

2.7.8

http://jsfiddle.net/bkh17Lgy/1

Screenshot

2.7.8 with applied #1013

image

2.7.8

image

Version

2.8.0 - develop branch

Metadata

Metadata

Assignees

Labels

lang/javascriptAnything involving JavaScripttype/bugAny issue which is a bug or PR which fixes a bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions