Skip to content

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

:bug: https://github.com/siyuan-note/siyuan/issues/17953

Danielfdd8efafd386
diff --git a/app/src/util/touchDragBridge.ts b/app/src/util/touchDragBridge.ts
index 6bc0ff1562..ca1576b5a1 100644
--- a/app/src/util/touchDragBridge.ts
+++ b/app/src/util/touchDragBridge.ts
@@ -26,6 +26,11 @@ const handleManualTouchStart = (e: TouchEvent) => {
if (e.touches.length !== 1) return;
const target = e.target as HTMLElement;
+ // 原生 <select> 下拉层由 WebView 以系统 overlay 绘制,合成 mousedown 会干扰其触摸序列导致下拉层闪退
+ // https://github.com/siyuan-note/siyuan/issues/17953
+ if (target.tagName === "SELECT" || target.tagName === "OPTION" || target.closest("select")) {
+ return;
+ }
// All areas with manual mousedown/mousemove/mouseup drag/resize operations
if (!target.closest(".dock") &&
!target.closest(".b3-dialog") &&