Skip to content

ion-button click event on ios doesn't work when pressing on icon #15960

@kienbanh

Description

@kienbanh

Say you have the following button:

<button ion-button (click)="add()">
<ion-icon name="add"></ion-icon>
</button>

The button DOESN'T work when the icon is "touched". It works when you meticulously press ABOVE AND BELOW the icon (but still within the button). I have tried this on iPhone 8 & iPhone X - both 12.0.

Also, this applies to all auto generated back button in ion-header.

Any thoughts? Bugs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions