Check out example codes for "edge ontouchmove does not work correctly". It will help you in understanding the concepts better.

Code Example 1

canvas {
  touch-action: none;
}

Learn ReactJs, React Native from akashmittal.com