Skip to content

Consider adding useLongPress #161

Open
@fkrauthan

Description

@fkrauthan

It would be great if there is a way, similar to useHover, using pointer events to trigger tooltip open but ONLY if you hold the item for X amount of time.

Currently if I add tooltips to a button (that for example opens a dialog) the tooltip gets displayed on click of that button. But on mobile I only want the tooltip to show if the user holds the button for a while.

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