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.
This commit is contained in:
Robin
2026-05-04 18:35:49 +02:00
parent 147d0f96e0
commit 1f5acfbeac

View File

@@ -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,