Skip to content

bug: IonTabButton doesn't have default HTML event attributes typed #29174

Closed
@aeharding

Description

@aeharding

Prerequisites

Ionic Framework Version

v7.x

Current Behavior

IonTabButton is missing regular HTML types (onPointerDown, onTouchEnd, onTouchMove, etc)

Expected Behavior

Should have proper types.

Steps to Reproduce

Try to add onPointerDown to IonTabButton in React. Typescript will complain, but the touch end handler will be properly connected/called.

Code Reproduction URL

https://stackblitz.com/edit/wl7fhb-xaawyq?file=src%2Fmain.tsx

Ionic Info

N/A - stackblitz

Additional Information

No response

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