Opened 7 years ago

Closed 7 years ago

#14305 closed bug (worksforme)

Jquery UI Sortable tabs' internal order are out of sync after sorting

Reported by: [email protected] Owned by:
Priority: minor Milestone: none
Component: ui.tabs Version: 1.11.3
Keywords: Cc:
Blocked by: Blocking:


Reproduction steps:

  • create 3 tabs: tab 1, 2, and 3
  • use the mouse to swap the position of tabs 2 and 3, so now the order is 1, 3, 2
  • use the tab's active() function to activate the 3rd tab. It will activate what is now visually the 2nd tab rather than the 3rd tab as should be expected.

Change History (2)

comment:1 Changed 7 years ago by [email protected]

My apologies, I'm unable to modify this ticket to update the component correctly to ui.tabs. I also tried deleting this ticket but there does not seem to be functionality accessible for me to do that either.

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

Component: ui.coreui.tabs
Resolution: worksforme
Status: newclosed

That's correct. The tabs widget has no idea that you've changed anything. You need to call the refresh method after sorting. Please see

Note: See TracTickets for help on using tickets.