Opened 14 years ago
Closed 12 years ago
#4549 closed bug (fixed)
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.
Change History (4)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Component: | ui.core → ui.tabs |
---|---|
Milestone: | TBD → 1.8 |
comment:3 Changed 12 years ago by
Working testcase: http://jsfiddle.net/petersendidit/RW7Dn/
Confirmed it still a problem with Firefox 3.0 - 4.0 and UI 1.8.11
comment:4 Changed 12 years ago by
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.