From c4f372feba5cdcdfbfdc813569d755254a380dc3 Mon Sep 17 00:00:00 2001 From: SuYao Date: Mon, 5 Jan 2026 18:16:08 +0800 Subject: [PATCH] fix(notes): prevent sticky folder z-index from overlapping webview (#12289) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add `isolation: isolate` to NotesSidebar container to create a new stacking context, preventing sticky folder elements (z-index: 1000+) from overlapping MinApp webview when switching pages. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude --- src/renderer/src/pages/notes/NotesSidebar.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/renderer/src/pages/notes/NotesSidebar.tsx b/src/renderer/src/pages/notes/NotesSidebar.tsx index 097ffd0f46..bcfc27a3c4 100644 --- a/src/renderer/src/pages/notes/NotesSidebar.tsx +++ b/src/renderer/src/pages/notes/NotesSidebar.tsx @@ -452,6 +452,7 @@ export const SidebarContainer = styled.div` display: flex; flex-direction: column; position: relative; + isolation: isolate; ` export const NotesTreeContainer = styled.div`