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

Clicking and clicking-and-holding should be interpreted as no intention to hover #34

Open
estaylorco opened this issue Mar 26, 2021 · 0 comments

Comments

@estaylorco
Copy link

Hello,

When a user clicks or clicks-and-holds on a hoverintent element, that should be interpreted as no intention to hover. In the vernacular of your [fantastic] library, the interval should be reset upon any type of clicking.

I would argue that any type of clicking signifies that the user does not intend to hover. Do you agree?

The problem I'm encountering is that, on an element where click is trapped, sometimes an overlay I created appears when it shouldn't. What's happening is that the user is clicking on the element (or clicking-and-holding) after a hover is initiated but before the interval has elapsed (and the "in" function is called).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant