Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider adding useLongPress #161

Open
fkrauthan opened this issue Jan 10, 2025 · 0 comments
Open

Consider adding useLongPress #161

fkrauthan opened this issue Jan 10, 2025 · 0 comments
Labels
feature request Request a new feature to add.

Comments

@fkrauthan
Copy link

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.

@endigo9740 endigo9740 added the feature request Request a new feature to add. label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request a new feature to add.
Projects
None yet
Development

No branches or pull requests

2 participants