Opened 7 years ago

Closed 7 years ago

#8562 closed bug (patcheswelcome)

Calling select method immediately after add happens too fast

Reported by: k_borchers Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.tabs Version: 1.8.23
Keywords: Cc:
Blocked by: Blocking:

Description

Not sure if this is actually a bug but it seems like there needs to be a short delay after add() to allow the browser to render a new tab before we continue processing more JS

Change History (2)

comment:1 Changed 7 years ago by k_borchers

Example of it being broken: http://jsfiddle.net/Fx8aG/5/ After adding more than one tab it can't correctly select the new tab

And fixed: http://jsfiddle.net/Fx8aG/4/

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

Resolution: patcheswelcome
Status: newclosed

This has been the case since at least 1.8.0 and both the select and add methods are being deprecated in 1.9.0. Therefore, I'm going to close this since we have plenty of other stuff to work on that will be maintained going forward. However, if someone wants to submit a fix, we can look into landing it.

Note: See TracTickets for help on using tickets.