Open ClaudiaMia opened 6 months ago
We already do use user-select: none
globally and only enable it for texts where it makes sense (e.g. chat, some long static texts, ...), so I don't think this will help in any way.
The solution might need to hook the contextmenu
event and do a preventDefault
on it, if the device is a mobile/the interaction is a touch.
This might be best integrated directly into the HoverElement
behavior so it is applied automatically to all relevant elements.
I tried solving this issue but I haven't found a good solution for testing it on mobile. All I found is that you can use bluestacks and connect via 10.0.2.2:6969, however can't connect to directory with this method.
On phone when holding over images/buttons that have a description or hover hint, additionally, the browser dialog menu pops up.
Suggestion was to use:
user-select: none