Hubs-Foundation / hubs

Duck-themed multi-user virtual spaces in WebVR. Built with A-Frame.
https://hubsfoundation.org
Mozilla Public License 2.0
2.13k stars 1.41k forks source link

iOS: Accidental selection highlighting #4774

Open j-conrad opened 3 years ago

j-conrad commented 3 years ago

Description It's easy to accidentally go into 'highlight' mode (not sure what to call it) when pressing and holding too long on any part of the screen.

To Reproduce Steps to reproduce the behavior:

  1. Launch Hubs on iOS
  2. Hold your finger on any part of the UI
  3. Result: You can end up highlighting the interface and then it's difficult to turn it off

Expected behavior This detection should be turned off if possible

Screenshots iOS_Selection

Hardware

┆Issue is synchronized with this Jira Task

takahirox commented 3 years ago

Hi @j-conrad, thanks for reporting.

Yeah I'm often annoyed by this issue. I couldn't reproduce the problem on Android Chrome. It seems an iOS specific issue.

vincentfretin commented 3 years ago

I already had this kind of issue with aframe projects on text elements on Safari iOS. To fix this I usually apply the css rule user-select: none; on the element. See if you can apply that on the svg element.