Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/18188

Vanessa2613f6d29d5c
diff --git a/app/src/mobile/dock/MobileFiles.ts b/app/src/mobile/dock/MobileFiles.ts
index 1b50db21ad..bcd0c9fb81 100644
--- a/app/src/mobile/dock/MobileFiles.ts
+++ b/app/src/mobile/dock/MobileFiles.ts
@@ -279,6 +279,9 @@ export class MobileFiles extends Model {
}
if (state.isDragging) {
+ // 进入拖拽后阻止原生滚动,避免列表伴随手指滚动
+ event.preventDefault();
+ event.stopPropagation();
state.ghostElement.style.left = `${touch.clientX}px`;
state.ghostElement.style.top = `${touch.clientY}px`;