Search and Top Navigation
#4549 closed bug (fixed)
Opened May 23, 2009 06:53PM UTC
Closed May 16, 2011 04:44PM UTC
Accordion and Tab causes multiple "active" tabs
Reported by: | mwlang | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.tabs | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Using
- jquery 1.3.2
- ui 1.7.1
The Accordion is set up to change sections on mouseover and not on mouse click (but this doesn't seem to matter either way).
On a page, I have a tab control and an accordion control. Neither is a subset of the other.
If a user changes an accordion selection and then clicks a different tab. The tab that was formerly active retains the ui-state-focus class selector, thus causing that tab to appear to have the styling associated with having focus on it.
The problem manifests itself in Firefox 3.0.3. It does NOT manifest in Safari 4 nor IE 6.
Watching events fire in firebug shows that while hovering over sections in the accordion, the ui-state-focus class is NOT removed from the tab in the interim. When returning the mouse pointer to the tab control and clicking another tab (with and without entering the currently selected tab's space), both the newly selected tab and the formerly active tab are updated, but both tabs get the ui-state-focus selector added.
Attachments (0)
Change History (4)
Changed May 23, 2009 08:00PM UTC by comment:1
Changed June 01, 2009 03:31PM UTC by comment:2
component: | ui.core → ui.tabs |
---|---|
milestone: | TBD → 1.8 |
Changed March 29, 2011 02:21PM UTC by comment:3
Working testcase: http://jsfiddle.net/petersendidit/RW7Dn/
Confirmed it still a problem with Firefox 3.0 - 4.0 and UI 1.8.11
Changed May 16, 2011 04:44PM UTC by comment:4
resolution: | → fixed |
---|---|
status: | new → closed |
The behavior in master seems to be very different than that of 1.8.x and this problem no longer exists.
The following demonstrates the issue at hand. I made the .ui-state-focus class background red to make it jump out.