首页 > 解决方案 > 'touchmove' UIEvent 没有前面的'touchstart'?

问题描述

很明显,浏览器中的每个 first-in-a-sequence touchmoveUIEvent 都必须以touchstart. 为了支持这一点,MDN 说

[touchmove] 事件的目标是接收到与触摸点对应的 touchstart 事件的同一元素,即使触摸点已移出该元素。

但是,由于浏览器设置为在触摸显示器上引发假鼠标事件,以规避界面问题,我想知道是否也可能存在一种情况,其中 atouchmove前面没有 atouchstart

标签: browsermouseeventuievent

解决方案


推荐阅读