Opened 10 years ago
Closed 10 years ago
#8597 closed bug (notabug)
ui-tabs-hide class not being removed when activating tab
Reported by: | andrewdmoreno | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.tabs | Version: | 1.9.0-rc.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
In previous version of jQuery UI, there was a recommendation on tabs documentation page: http://jqueryui.com/demos/tabs/#...prevent_a_FOUC_.28Flash_of_Unstyled_Content.29_before_tabs_are_initialized stating that 'ui-tabs-hide' class can be used to hide inactive tab panel to prevent flash of unstyled content.
Using 1.8.x line, tabbing to one of the tabs with this class would automatically remove the ui-tabs-hide class and display the div.
When swapping in the 1.9.0-rc.1 js file, the ui-tabs-hide class remains when the tab is selected and does not get removed, thus, the div is set to display: none; and does not display.
See jsbin: http://jsbin.com/iwasox/1 for an example. This is my first bug report, my apologies if I have done something incorrect. To the best of my ability I searched to see if this had already been reported.
That example is invalid since it uses 1.8.x CSS with 1.9.x JS.
ui-tabs-hide
is no longer used in 1.9.x.