3 ms·
Author here, I am not a webdev, and I have no idea how to fix that. Do you have any suggestions?
by nomemory 3y ago
Author here, I am not a webdev, and I have no idea how to fix that. Do you have any suggestions?
- YetAnotherNick 3y agoAdd this to head: <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
- srott 3y agotested, meta is not enough <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum scale=1.0, user-scalable=0"> <style> body { touch-action: none; } <style>
- nomemory 3y agoIf I put touch-action: none, the screen is frozen on my Galaxy, and I cannot zoom out to see the canvas. I've tried touch-action manipulation instead. Is it working better now?
- skaushik92 3y agoYou can disable default touch actions on buttons like this: https://stackoverflow.com/questions/10614481/disable-double-tap-zoom-option-in-browser-on-touch-devices https://stackoverflow.com/questions/10614481/disable-double-...
- wanderingstan 3y agoI think making the controls into actual button elements would fix this. (Suspecting they are divs with onclick handlers now.)