Why onclick event suppressed, when preventDefault() is called for the touchstart event?

后端 未结 2 811
星月不相逢
星月不相逢 2021-01-06 14:27

I try to implement some javascript functions for my Ipad device. I would like to use some swipe action and click action on my canvas div.

I implemented the horizonta

2条回答
  •  一向
    一向 (楼主)
    2021-01-06 14:53

    You could try to prevent the default action of the touchmove event.

提交回复
热议问题