From 4d129086d1d1537459b72c860fbf408bb97424af Mon Sep 17 00:00:00 2001 From: Teigen Date: Wed, 17 Jun 2026 19:47:07 +0800 Subject: [PATCH] fix(iPad): raise toolbar z-index when case settings popover is open backdrop-filter on the toolbar creates a stacking context that traps the popover's z-index (1000) inside the toolbar. CJK input (z-index 52) in the root stacking context always wins. Use :has() to raise the toolbar above CJK only while the popover is visible. --- src/web/public/styles.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/web/public/styles.css b/src/web/public/styles.css index 2f86375a..691d4aef 100644 --- a/src/web/public/styles.css +++ b/src/web/public/styles.css @@ -2719,6 +2719,13 @@ body.solo-mode .btn-lifecycle-log { contain: style; } +/* backdrop-filter creates a stacking context, trapping the popover's + z-index inside the toolbar. When the popover is open, raise the toolbar + above the CJK input (z-index 52) so the popover is interactable. */ +.toolbar:has(.case-settings-popover:not(.hidden)) { + z-index: 100; +} + .toolbar-left, .toolbar-right { display: flex;