Skip to content

Breadcrumb click event fails for Ionic Vue's ion-back-button #2371

@jacobg

Description

@jacobg

When using Ionic-Vue in a mobile app with Cordova, tapping on a <ion-back-button> triggers a PointerEvent with target <ion-back-button>. This element is of type "button", but its el.value is undefined, as it is really a web component with shadow dom. This causes the bugsnag function getNodeText to throw TypeError: undefined is not an object (evaluating '_.replace').

It looks getNodeText should maybe use a collate on el.value to default to an empty string, or check if's a shadow root and if so then do a dom query for a button inside the shadow root.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogWe hope to fix this feature/bug in the futurefeature requestRequest for a new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions