From cad56bb5f1e06d63d0aeb9285b6f652a394f7b9f Mon Sep 17 00:00:00 2001 From: jedarden Date: Sat, 11 Apr 2026 03:09:46 -0400 Subject: [PATCH] fix: resolve iOS Safari passive event listener warnings and double-tap zoom - Add touch-action: none to canvas elements in expert.css and ambient.css to prevent passive event listener warnings on iOS Safari - Add user-scalable=no and maximum-scale=1.0 to viewport meta tags in ambient.html and simple.html to prevent double-tap zoom Co-Authored-By: Claude Opus 4.6 --- dashboard/ambient.html | 2 +- dashboard/css/ambient.css | 3 +++ dashboard/simple.html | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dashboard/ambient.html b/dashboard/ambient.html index 2e05a48..d3ab590 100644 --- a/dashboard/ambient.html +++ b/dashboard/ambient.html @@ -2,7 +2,7 @@ - + Spaxel Ambient Display diff --git a/dashboard/css/ambient.css b/dashboard/css/ambient.css index 4232faf..86b6368 100644 --- a/dashboard/css/ambient.css +++ b/dashboard/css/ambient.css @@ -95,6 +95,9 @@ body.ambient-mode { background: white; border-radius: 16px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); + display: block; + /* Fix iOS Safari passive event listener warnings */ + touch-action: none; } /* ===== Ambient Status Line ===== */ diff --git a/dashboard/simple.html b/dashboard/simple.html index 7dd29ca..c2c5bfc 100644 --- a/dashboard/simple.html +++ b/dashboard/simple.html @@ -2,7 +2,7 @@ - + Spaxel - Simple Mode