An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/8402
Vanessae4a37aeaccea
diff --git a/app/src/mobile/util/touch.ts b/app/src/mobile/util/touch.tsindex d2efa5a5cf..b35b1deb37 100644--- a/app/src/mobile/util/touch.ts+++ b/app/src/mobile/util/touch.ts@@ -1,4 +1,4 @@-import {hasClosestByAttribute, hasClosestByClassName} from "../../protyle/util/hasClosest";+import {hasClosestByAttribute, hasClosestByClassName, hasTopClosestByClassName} from "../../protyle/util/hasClosest";import {closePanel} from "./closePanel";import {popMenu} from "../menu";import {activeBlur, hideKeyboardToolbar} from "./keyboardToolbar";@@ -75,7 +75,8 @@ export const handleTouchEnd = (app: App, event: TouchEvent) => {// 有些事件不经过 touchmovelet scrollElement = hasClosestByAttribute(target, "data-type", "NodeCodeBlock") ||- hasClosestByAttribute(target, "data-type", "NodeTable");+ hasClosestByAttribute(target, "data-type", "NodeTable") ||+ hasTopClosestByClassName(target, "list");if (scrollElement) {if (scrollElement.classList.contains("table")) {scrollElement = scrollElement.firstElementChild as HTMLElement;@@ -223,7 +224,8 @@ export const handleTouchMove = (event: TouchEvent) => {previousClientX = event.touches[0].clientX;if (Math.abs(xDiff) > Math.abs(yDiff)) {let scrollElement = hasClosestByAttribute(target, "data-type", "NodeCodeBlock") ||- hasClosestByAttribute(target, "data-type", "NodeTable");+ hasClosestByAttribute(target, "data-type", "NodeTable") ||+ hasTopClosestByClassName(target, "list");if (scrollElement) {if (scrollElement.classList.contains("table")) {scrollElement = scrollElement.firstElementChild as HTMLElement;