From c4bad8cf443c3be00d5215f77fde047caf728196 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 1 Nov 2024 09:40:19 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E9=9D=A2=E6=9D=BF=E5=9B=BA=E5=AE=9A?= =?UTF-8?q?=E6=97=B6=E6=8B=96=E6=8B=BD=E8=BF=87=E6=85=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/layout/util.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/layout/util.ts b/app/src/layout/util.ts index fd9929c3d..e31fd5f54 100644 --- a/app/src/layout/util.ts +++ b/app/src/layout/util.ts @@ -819,6 +819,8 @@ export const addResize = (obj: Layout | Wnd) => { const previousElement = resizeElement.previousElementSibling as HTMLElement; nextElement.style.overflow = "auto"; // 拖动时 layout__resize 会出现 https://github.com/siyuan-note/siyuan/issues/6221 previousElement.style.overflow = "auto"; + nextElement.style.transition = "none"; + previousElement.style.transition = "none"; if (!nextElement.nextElementSibling || nextElement.nextElementSibling.classList.contains("layout__dockresize")) { setSize(nextElement, direction); } else { @@ -886,6 +888,8 @@ export const addResize = (obj: Layout | Wnd) => { } nextElement.style.overflow = ""; previousElement.style.overflow = ""; + nextElement.style.transition = ""; + previousElement.style.transition = ""; }; }); };