Skip to content

bug: IonTabButton href showing on browser as undefined when not defined #19580

Description

@diogomateus

Bug Report

Ionic version:
"@ionic/core": "^4.10.0",
"@ionic/react": "^4.10.0-rc.3",

Current behavior:
Having IonTabButton component and not passing an href prop, it's always returning undefined. This makes the page reload even if an onClick is passed. On documentation it says that href can be string | undefined.

Expected behavior:
Having IonTabButton component and its prop href is not defined, I expect the href not to show on the html.

Ref:
Screenshot 2019-10-08 at 15 18 59

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    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