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
Safari Zoom in iOS15
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.