Skip to content

Tabs (f7Tab) can create duplicate IDs which in turn break the page #220

@daattali

Description

@daattali

Because of the way IDs are being assigned to individual tabs (removing punctuation and whitespace from the tabName argument) , it's possible for different tabs to result in the same ID. When this happens, only the first tab appears on the page, and the other tabs are broken. The documentation for the argument only says that it's an ID so it must be unique, so two tabs with the names "ab" and "a. b" should be ok, but that causes issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions