Opened 10 years ago
Closed 10 years ago
#8905 closed bug (notabug)
Accordion: setting active option doesn't trigger scrolling to the new panel
Reported by: | dIsoVi | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.10.0 |
Component: | ui.accordion | Version: | 1.9.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Expected behaviour: When accordion is in scrollable container and active option is changed programmatically the new selected panel should be scrolled to (such behaviour was in versions below 1.9) Actually happens: No scroll.
Here is example http://jsfiddle.net/4vvjX/1/ if you change version of jqueryUI to 1.9.* in this fiddle you'll see the difference.
Change History (2)
comment:1 Changed 10 years ago by
Status: | new → open |
---|---|
Summary: | setting active option doesn't trigger scrolling to the new panel → Accordion: setting active option doesn't trigger scrolling to the new panel |
comment:2 Changed 10 years ago by
Resolution: | → notabug |
---|---|
Status: | open → closed |
The old behavior occurred because we used to set focus on activation. However, this isn't something that should occur, especially not based on a scripted activation. If you want to move the user's focus, then you should do so explicitly.
Note: See
TracTickets for help on using
tickets.
Verified and minified a bit - http://jsfiddle.net/tj_vantoll/DPuNS/.