Opened 11 years ago
Closed 11 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 11 years ago by
comment:2 Changed 11 years ago by
Resolution: | → patcheswelcome |
---|---|
Status: | new → closed |
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.
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/