Opened 7 years ago

Closed 7 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 7 years ago by tj.vantoll

Status: newopen
Summary: setting active option doesn't trigger scrolling to the new panelAccordion: setting active option doesn't trigger scrolling to the new panel

Verified and minified a bit - http://jsfiddle.net/tj_vantoll/DPuNS/.

comment:2 Changed 7 years ago by Scott González

Resolution: notabug
Status: openclosed

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.