Search and Top Navigation
#7520 closed bug (fixed)
Opened June 30, 2011 08:04PM UTC
Closed August 02, 2011 10:05PM UTC
Tabs Retain Active State in FireFox
| Reported by: | dmcmeans | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.9.0 |
| Component: | ui.tabs | Version: | 1.8.7 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
Setting focus in the tab show event causes the active state (ui-state-active) to be retained as you select tabs.
Ex.
$("#tabs").tabs({
show: function(event, ui) {
// set focus to first input on tab panel
$("#tabs-"+ui.index + " :input:visible:first").focus();
}
});
Occurs in FF 3.6. Does not occur in IE8. Commenting out the focus() call stops the behavior.