Skip to content

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

fix: 在块标上滚动时控制台警告 (#13995)

Jeffrey Chena73af6bcd15b
diff --git a/app/src/protyle/gutter/index.ts b/app/src/protyle/gutter/index.ts
index 16b3e17877..60bc2ae6a0 100644
--- a/app/src/protyle/gutter/index.ts
+++ b/app/src/protyle/gutter/index.ts
@@ -484,7 +484,6 @@ export class Gutter {
this.element.addEventListener("mousewheel", (event) => {
hideElements(["gutter"], protyle);
event.stopPropagation();
- event.preventDefault();
}, {passive: true});
}