Skip to content

[4.0.0-rc.0] ion-tab-button requires tab contradictory to the docs and preventing 'plain buttons' #16845

@tehXor

Description

@tehXor

Bug Report

Ionic version:
[x] 4.0.0-rc.0

Current behavior:
An ion-tab-button without a tab attribute but only a (click) attribute will throw an exception on load that tab is required. On click it will try to navigate to <current-route>/undefined which again will lead to an exception which also prevents (click) to be executed.

Expected behavior:
Like the docs say at https://github.com/ionic-team/ionic/blob/master/angular/BREAKING.md#tabs this should be "No ion-tab, just a button that looks like a tab" and therefore (click) should be executed.

Steps to reproduce:
Build an example like shown at https://github.com/ionic-team/ionic/blob/master/angular/BREAKING.md#tabs under "New Usage Example:" and here under "No ion-tab, just a button that looks like a tab"

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