iPad: no text selection or image menu on press-and-hold, no accidental pinch or double-tap zoom, fields stay at 16px so focus does not zoom
build-container / build (push) Successful in 2m55s
build-container / build (push) Successful in 2m55s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
bbe32bae83
commit
272760c321
2 files changed
+11
No files matched your search
@@ -1,5 +1,7 @@
|
||||
'use strict';
|
||||
// ---- Boot
|
||||
// Stop the accidental pinch zoom on iPads (Safari ignores user-scalable=no). Double-tap zoom is stopped in the CSS (touch-action: manipulation).
|
||||
for (const ev of ['gesturestart', 'gesturechange', 'gestureend']) document.addEventListener(ev, e => e.preventDefault(), { passive: false });
|
||||
(async () => {
|
||||
try { cfg = { ...cfg, ...(await (await fetch('/api/config')).json()) }; } catch {}
|
||||
const loadedBuild = cfg.build;
|
||||
|
||||
Reference in new issue
Block a user