Skip to main content

Search and Top Navigation

#9725 closed bug (duplicate)

Opened January 03, 2014 12:50PM UTC

Closed January 03, 2014 01:31PM UTC

Changing Focus on dialogs will cause a div scroll bar to scroll to the top position

Reported by: gallogjj Owned by:
Priority: minor Milestone: none
Component: ui.core Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:
Description

Here is the fiddle

http://jsfiddle.net/F8qGb/3/

Basically there are 2 dialogs. One contains a div with overflow-y and a fixed height (to make it scrollable)

Steps to Reproduce

1) Got http://jsfiddle.net/F8qGb/3/

2) On the "Scroll Me First" dialog, scroll down partially or completely

3) Click on the "Click Me Next" dialog

4) Look at the scroll bar on "Scroll Me First" and notice that the scroll bar is now at the top

This issue does not exist in jquery ui 1.9.2 but appears in 1.10.3 (I didn't try others)

Reproduced on Chrome and Firefox

Walking through the chrome debugger, it occurs during an "OnBlur" callback. During which the dialog disappears, then re-appears but with the scroll bar reset.

Attachments (0)
Change History (1)

Changed January 03, 2014 01:31PM UTC by tj.vantoll comment:1

resolution: → duplicate
status: newclosed

Duplicate of #9166.