From d9891ff9fe5e96bc1a779052885db2ea8a63b503 Mon Sep 17 00:00:00 2001 From: nmemmert <67961292+nmemmert@users.noreply.github.com> Date: Tue, 27 Oct 2026 15:13:18 -0400 Subject: [PATCH] Pin reader and tab bars to their own compositing layer iOS Safari/PWA can strand fixed and sticky bars mid-screen after the toolbar collapses or the page rubber-bands. Add a .fixed-bar class (translateZ(0), will-change: transform) to the reader top/bottom bars and the phone tab bar. Co-Authored-By: Claude Sonnet 5.5 --- src/components/reader/ReaderBars.jsx | 4 ++-- src/components/study/PageShell.jsx | 2 +- src/index.css | 8 ++++++++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/components/reader/ReaderBars.jsx b/src/components/reader/ReaderBars.jsx index 86af8d8..b5f0763 100644 --- a/src/components/reader/ReaderBars.jsx +++ b/src/components/reader/ReaderBars.jsx @@ -8,7 +8,7 @@ const iconBtn = 'flex h-9 w-9 items-center justify-center rounded-lg text-[var(- export function TopBar({ title, onBack, onOpenNavigator, onSearch, onBookmarks, bookmarkCount, onHighlights, highlightCount, onCompare, compareActive, onSettings, onDoneDrawing }) { return ( -
+
diff --git a/src/components/study/PageShell.jsx b/src/components/study/PageShell.jsx index faaa10b..f40e7a2 100644 --- a/src/components/study/PageShell.jsx +++ b/src/components/study/PageShell.jsx @@ -132,7 +132,7 @@ export default function PageShell({ title, onBack, actions, active = null, maxWi {phone && ( <>