WAP端 touch事件触发顺序记录
IOS7.0 safari 滾動滾動條的時候, 最后手指放開 (scroll 總是在 touchend后面,所以要用 setTimeout)
touchstart touchmove(多個) touchend scroll(一個)
IOS8.4 safari 滾動滾動條的時候
touchstart touchmove(多個) scroll(0個或者多個) touchend scroll(0個或者多個)
IOS7.0 和 IOS8.4 UC 瀏覽器 10.6.5.627 滾動滾動條的時候
正常滾動的時候 touchstart touchmove(多個) touchend scroll(一個)
SAMSUNG GT-19308 4.3 原生瀏覽器?滾動滾動條的時候
touchstart touchmove(只有一個) scroll scroll 沒有touchend
UC瀏覽器 10.6.5.627 滾動滾動條的時候
touchstart touchmove(只有一個) scroll(0個或者多個) touchcancel scroll(0個或者1個)
長按的時候(最后手指放開) ? touchstart touchcancel
單點擊的時候 touchstart touchend
按住不動的情況
Galaxy note(?版本) 自帶瀏覽器 按下去馬上觸發touchstart,放開觸發touchend;
SAMSUNG GT-19308 4.3 自帶瀏覽器 按下去什么都不觸發,放開同時觸發 touchstart 和 touchend;
以上2個手機的 UC瀏覽器 10.6.5.627 按下去馬上觸發touchstart,放開觸發touchcancel;
轉載于:https://www.cnblogs.com/zhengming2016/p/5566285.html
總結
以上是生活随笔為你收集整理的WAP端 touch事件触发顺序记录的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: iOS中的UIScrollView(滑动
- 下一篇: iOS开发中 常用枚举和常用的一些运算符