what-input icon indicating copy to clipboard operation
what-input copied to clipboard

Mouse intent when long-tapping in Firefox for Android

Open lorenzos opened this issue 5 years ago • 1 comments

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.

lorenzos avatar Jun 04 '19 08:06 lorenzos

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

ten1seven avatar Jun 06 '19 18:06 ten1seven