Safari Zoom in iOS15

How do I disable double tap to Zoom in Safari iOS15.I am writing a progresive web app that uses btn.ondblClick Javascript but don't want my screen to Zoom when doing this. Any suggestions much appreciated

have you found a solution?

Is your ondblClick function something like: function myHandler(event) { //Your code here

return false; //Stop the propagation }

That should trigger event.preventDefault() and event.stopPropagation(); The return of an event handler specifies whether the default action should also happen.

Safari Zoom in iOS15
 
 
Q