mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-08 00:04:21 +01:00
This commit is contained in:
parent
bf77d94870
commit
c0c6cfb633
1 changed files with 2 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue