fix: touchstart 时立即取消输入框选中,不依赖 click 事件链

This commit is contained in:
2026-05-15 15:26:59 +08:00
parent caa107ff64
commit 7c6128dd6d

View File

@@ -1477,8 +1477,8 @@
return; return;
} }
// 如果正在编辑,先退出编辑状态 // 取消输入框和层叠图的选中状态(在 touchstart 时就处理,不依赖 click 事件)
if (editingInput) { if (editingInput || selectedInput || selectedOverlay) {
deselectAll(); deselectAll();
} }