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

Mouse intent when long-tapping in Firefox for Android #94

Open
lorenzos opened this issue Jun 4, 2019 · 1 comment
Open

Mouse intent when long-tapping in Firefox for Android #94

lorenzos opened this issue Jun 4, 2019 · 1 comment

Comments

@lorenzos
Copy link

lorenzos commented Jun 4, 2019

A somewhat minor issue, but on Firefox for Android [data-whatintent="mouse"] is set for a very short time when long-tapping anything (like, for text selection or to fire the browser's contextual menu). It may be that Firefox for Android fires a mouse-related event on long-taps to "emulate" right clicks?

I noticed it on an element that has a :hover tooltip that I wanted to remove on mobile: I hide the tooltip in CSS and I use [data-whatintent="mouse"] to re-display it. It worked, and the tooltip is gone on normal taps; but I noticed it came back for a moment when long-tapping.

I don't know if it can be fixed or if it's worth it, but thanks anyway.

@ten1seven
Copy link
Owner

Hi @lorenzos, thanks for reporting this. I'll give it a look.

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

2 participants