Opened 12 years ago
Closed 12 years ago
#6774 closed bug (notabug)
Widgets reset scrollable elements that they contain
Reported by: | derleek | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.widget | Version: | 1.8.7 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Excuse me if this ticket isn't up to the usual standards - it's my first one!
If you observe my example on JS fiddle. When you scroll an element to any position, switch widget states, then go back the scroll bars get reset to the first position.
To replicate the bug i've found Scroll down in one of the .scroll-container elements Click an accordion header Click on old header - note the element was auto-scrolled to the top.
Bug Confirmed in: Chome 8.0 - OSX 10.6.5 Safari 5.0.3 - OSX 10.6.5
Also, if it helps my Stack Overflow question about this issue is here
Note: See
TracTickets for help on using
tickets.
This is just how browsers work, as soon as you hide an element, it loses the scroll position.