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

Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
This commit is contained in:
01zulfi
2025-06-27 09:30:53 +05:00
committed by GitHub
parent ed60fe469c
commit 63a0965cdd

View File

@@ -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"