As I work on developing my web browser game, I encountered an issue with Safari iOS where double tapping triggers a magnifying glass feature:
https://i.sstatic.net/B2y2L.png
I have been trying to disable this feature but so far, no luck. I attempted using user-select: none
(specifically -webkit-user-select: none
for Safari), touch-action: none
, and various ways of using event.preventDefault()
.
While there are resources available on how to hide it for long press events (where -webkit-user-select: none
does work) and how to prevent double tap zoom, I have not yet found a method to hide this magnifying glass during a double tap gesture.
Is there a solution for this problem?