Skip to main content

Search and Top Navigation

#5502 closed bug (duplicate)

Opened April 10, 2010 07:46PM UTC

Closed October 14, 2010 01:40PM UTC

Last modified October 11, 2012 09:15PM UTC

Modal Dialog Opening Offscreen

Reported by: ThinkerR Owned by:
Priority: critical Milestone:
Component: ui.dialog Version: 1.8
Keywords: viewport scroll anchor Cc:
Blocked by: Blocking:
Description

I still have the bug of Ticket #4539.

The modal dialog will open correctly in the center of the viewport if I do not have to scroll the browser window.

But if the link contains an anchor that needs some scrolling, the dialog box will open offscreen, at the top of the page.

To reproduce the viewport problem with attached file, type the url modal-message.html#anchor in Chrome 5.0.342.9 beta for Ubuntu.

Attachments (1)
  • modal-message.html (3.2 KB) - added by ThinkerR April 10, 2010 07:46PM UTC.

    Slightly modified demo example of modal-message.html

Change History (2)

Changed October 14, 2010 01:40PM UTC by scottgonzalez comment:1

resolution: → duplicate
status: newclosed

Closing as duplicate of #4539. The problem is exactly as I stated there: the browser isn't scrolling down to the anchor until after document ready fires. The code is working properly. You can verify this yourself by checking $( window ).scrollTop() inside the $(document).ready() event and again after a 1ms delay.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:2

milestone: TBD

Milestone TBD deleted