Touchmove pointer-events: none CSS doesn't work on Chrome for Android 4.4 / ChromeView

后端 未结 2 1240
抹茶落季
抹茶落季 2021-01-01 20:31

I\'m using CSS pointer-events to pass touchmove events through a transparent div. This works everywhere apart from Chrome on Android. I\'m wondering if this is a known iss

2条回答
  •  佛祖请我去吃肉
    2021-01-01 20:58

    Apparently there is a separate CSS property called touch-action:

    https://developer.mozilla.org/en-US/docs/Web/CSS/touch-action

    Add touch-action: none; and it should work.

提交回复
热议问题