From 1f5acfbeacc7a327e85228a2daf59b3f609252f6 Mon Sep 17 00:00:00 2001 From: Robin Date: Mon, 4 May 2026 18:35:49 +0200 Subject: [PATCH] Make controls show up on tap on iOS As documented at https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html, the fact that click events do not bubble by default is a longstanding quirk of iOS Safari. --- src/index.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/index.css b/src/index.css index 039b2a42..11c1e2f7 100644 --- a/src/index.css +++ b/src/index.css @@ -125,6 +125,12 @@ body[data-platform="ios"] { -apple-system, BlinkMacSystemFont, "Inter", sans-serif; } +body[data-platform="ios"] * { + /* This makes click events bubble properly on iOS + https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html */ + cursor: pointer; +} + @layer compound-legacy { h1, h2,