Ticket #1997 (closed bug: worksforme)
Dialog position relative to page length and not window height.
|Reported by:||Xichekolas||Owned by:||rworth|
|Keywords:||ui, dialog, position||Cc:|
In ui.dialog.js, several of the position options (lines 113-134) determine the top offset of the dialog based on math involving $(window).height(). This is the actual length of the page, not the height of the viewable area of the page.
The result is that on really long pages, this value is huge and the dialog is opened way below where the user is currently viewing. It seems like the open fails, but you just have to scroll down quite a bit to find it. Is there a way to get the height of the viewable area rather than what amounts to the length of the entire page?