From 599c0dbeb5d63c40e16ddc04a78384606142d3d4 Mon Sep 17 00:00:00 2001 From: "qixian.cs" Date: Sat, 23 Nov 2024 03:45:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E5=B7=A5=E5=85=B7=E6=A0=8F=E7=9A=84?= =?UTF-8?q?=E5=AE=9A=E4=BD=8D=E6=96=B9=E5=BC=8F=E6=9B=B4=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E5=9B=BA=E5=AE=9A=EF=BC=8C=E4=BB=A5=E6=94=B9=E5=96=84=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E7=95=8C=E9=9D=A2=E4=BD=93=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MarkdownEditor/editor/tools/ToolBar/FloatBar.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/MarkdownEditor/editor/tools/ToolBar/FloatBar.tsx b/src/MarkdownEditor/editor/tools/ToolBar/FloatBar.tsx index 89e35e60..21e3128b 100644 --- a/src/MarkdownEditor/editor/tools/ToolBar/FloatBar.tsx +++ b/src/MarkdownEditor/editor/tools/ToolBar/FloatBar.tsx @@ -111,6 +111,7 @@ export const FloatBar = observer((props: { readonly: boolean }) => { style={{ left: state.left, top: state.top, + position: 'fixed', display: state.open ? undefined : 'none', }} onMouseDown={(e) => {