From c0c6cfb63338e068d9172bc7e2cc8e3cf3d14ad2 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 30 Jan 2026 11:51:29 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/11569 --- app/src/protyle/render/av/render.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/protyle/render/av/render.ts b/app/src/protyle/render/av/render.ts index 6a75cc84a..f1a1eaed1 100644 --- a/app/src/protyle/render/av/render.ts +++ b/app/src/protyle/render/av/render.ts @@ -296,7 +296,7 @@ const afterRenderTable = (options: ITableOptions) => { if (headerTransformElement) { headerTransformElement.style.transform = options.resetData.headerTransform.transform; } - } else if (editRect) { + } else if (editRect && options.protyle && !options.protyle.options.action.includes(Constants.CB_GET_HISTORY)) { // 需等待渲染完,否则 getBoundingClientRect 错误 https://github.com/siyuan-note/siyuan/issues/13787 setTimeout(() => { stickyRow(options.blockElement, editRect, "top"); @@ -307,7 +307,7 @@ const afterRenderTable = (options: ITableOptions) => { if (footerTransformElement) { footerTransformElement.style.transform = options.resetData.footerTransform.transform; } - } else if (editRect) { + } else if (editRect && options.protyle && !options.protyle.options.action.includes(Constants.CB_GET_HISTORY)) { // 需等待渲染完,否则 getBoundingClientRect 错误 https://github.com/siyuan-note/siyuan/issues/13787 setTimeout(() => { stickyRow(options.blockElement, editRect, "bottom");