Callback checks for changed dialog height every .5 seconds and repositions if necessary.
Closes #3252978
Merge request reports
Activity
This appears to be a known issue with jQuery dialogs. Window resize events will trigger repositioning of dialogs, but the height of the dialog changing in and of itself will not. The height of the dialog is actually limited correctly, but it is never repositioned so the bottom of the dialog expands outside the current viewport.
This fix uses setInterval to check if dialog heights change every .5 seconds, and if so, simply repositions the dialog.
added 8 commits
- 582d46fb - wip - added height test
- beb7dd64 - Merge branch '3257333-test-coverage-for' into 3252978-large-modal-exceeds
- 16ba7b83 - Simplified test.
- 253f3da1 - Meging simplified test.
- 34de2125 - Look for correct button element.
- fb50386b - Merge test.
- 9481e52e - Refactored for simplicity.
- 38b8c319 - Merge latest test coverage changes.
Toggle commit listadded 8 commits
-
38b8c319...e661de00 - 3 commits from branch
project:2.0.x
- 9cf8c840 - Callback checks for changed dialog height every .5 seconds and repositions if necessary.
- cb2a9eb9 - wip - added height test
- 94016a10 - Simplified test.
- 44eec6a6 - Look for correct button element.
- 0db9568a - Refactored for simplicity.
Toggle commit list-
38b8c319...e661de00 - 3 commits from branch
Please register or sign in to reply