Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: fix rapidly clicking on back/forward buttons opened new tab

Abdullah Atta2f6b1e6bcc60
diff --git a/apps/web/src/components/editor/action-bar.tsx b/apps/web/src/components/editor/action-bar.tsx
index 03e90a10d..606cfdc9c 100644
--- a/apps/web/src/components/editor/action-bar.tsx
+++ b/apps/web/src/components/editor/action-bar.tsx
@@ -321,6 +321,7 @@ function TabStrip() {
borderRight: "1px solid var(--border)",
alignItems: "center"
}}
+ onDoubleClick={(e) => e.stopPropagation()}
>
<Button
disabled={!canGoBack}