Search and Top Navigation
#8562 closed bug (patcheswelcome)
Opened September 10, 2012 01:59PM UTC
Closed September 10, 2012 03:04PM UTC
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
Attachments (0)
Change History (2)
Changed September 10, 2012 02:02PM UTC by comment:1
Changed September 10, 2012 03:04PM UTC by comment:2
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.
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/