Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: Fix database virtual scrolling after clearing search

Daniel9d164289036a
diff --git a/app/src/protyle/render/av/virtualScroll.ts b/app/src/protyle/render/av/virtualScroll.ts
index ee6083159b..5af39a28b8 100644
--- a/app/src/protyle/render/av/virtualScroll.ts
+++ b/app/src/protyle/render/av/virtualScroll.ts
@@ -784,4 +784,5 @@ export const initVirtualScroll = (options: {
});
}
});
+ trimAVRows(options.blockElement, options.protyle.contentElement.getBoundingClientRect());
};