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

hovering not detected #3

Open
PietroAmmaturo opened this issue Aug 29, 2022 · 2 comments
Open

hovering not detected #3

PietroAmmaturo opened this issue Aug 29, 2022 · 2 comments

Comments

@PietroAmmaturo
Copy link

While the actual cursor is visible on the screen, hovering events are not detected from the html elements.

@AdaRoseCannon
Copy link
Owner

Is this the :hover state in CSS? Unfortunately the cursor isn't a real mouse HTML elements aren't real HTML elements. So although it detects mouse enter and leave events it cannot do anything with the CSS.

You could create a .hover class and toggle it the JS as an alternative.

@vincentfretin
Copy link
Collaborator

I'm interested in giving it a try now that I'm familiar with the code.

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

3 participants