Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Tab Widget list item active tab does not maintain highlight when other buttons are pressed #7873

@adammatthewsmith

Description

@adammatthewsmith

Using tabs in a navbar as in http://view.jquerymobile.com/master/demos/tabs/, if you select other buttons in the page (not the navbar) the navbar button anchors lose the 'ui-btn-active' class and therefore lose the blue highlight.

To test:

  1. Go to the tabs demo page. (Tab Widget does not set class "ui-btn-active" for the initially opened tab #7407 already captures the issue where the first tab is not highlighted by default even though its content is shown).
  2. Select any tab. It should become highlighted.
  3. Select the 'View Source' button.
  4. Close the source window.
    Expected: the selected tab should still be highlighted.
    Actual: no tabs are highlighted.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions