Skip to content

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

web: fix scrolling toolbar also scrolling editor (#8256)

01zulfi8cadc6eaa4ea
diff --git a/apps/web/src/components/editor/tiptap.tsx b/apps/web/src/components/editor/tiptap.tsx
index 2c0be5615..aed0e1be1 100644
--- a/apps/web/src/components/editor/tiptap.tsx
+++ b/apps/web/src/components/editor/tiptap.tsx
@@ -378,7 +378,7 @@ function TipTap(props: TipTapProps) {
<ScrollContainer
className="toolbarScroll"
suppressScrollY
- style={{ display: "flex" }}
+ style={{ display: "flex", overscrollBehavior: "contain" }}
trackStyle={() => ({
backgroundColor: "transparent",
"--ms-track-size": "6px"