Skip to content

bug: ionic vue non tab button elements in ion-tab-bar causes errors #22642

@liamdebeasi

Description

@liamdebeasi

ion-tab-bar expects all children to be ion-tab-button, but it's possible for a child to be a comment or other element. Right now it errors out since it expects all children to have a tabs prop, but we should make it so it only considers elements that are tab buttons and have props.

More info: https://forum.ionicframework.com/t/commenting-out-ion-tab-button-causes-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions