From 0e74409348752c19253f1116ee872e1b422a0b5e Mon Sep 17 00:00:00 2001 From: Frederic Cabassut Date: Thu, 12 Mar 2026 10:10:39 +0100 Subject: [PATCH] fix: prevent ghost click tap-through on mobile editor toolbar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On mobile, tapping a note card could trigger action buttons in the editor that rendered at the same coordinates (ghost click). Suppress pointer events on both toolbars for 150ms after mount — matching the pop-in animation — so the synthetic click passes harmlessly. Co-Authored-By: Claude Opus 4.6 --- src/lib/components/NoteEditor.svelte | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/src/lib/components/NoteEditor.svelte b/src/lib/components/NoteEditor.svelte index 4327d16..940ac21 100644 --- a/src/lib/components/NoteEditor.svelte +++ b/src/lib/components/NoteEditor.svelte @@ -1,4 +1,5 @@