fix: touchstart 时立即取消输入框选中,不依赖 click 事件链
This commit is contained in:
@@ -1477,8 +1477,8 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 如果正在编辑,先退出编辑状态
|
// 取消输入框和层叠图的选中状态(在 touchstart 时就处理,不依赖 click 事件)
|
||||||
if (editingInput) {
|
if (editingInput || selectedInput || selectedOverlay) {
|
||||||
deselectAll();
|
deselectAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user