0

How to prevent from a component (such as a slider or a chart) from grabbing touch move and similar events? The problem occurs when trying to slide up or down a page with such a component from an external library on a touch-screen device.

I tried the Capture synthetic events which didn't help:

  <div className='wrapper'
    onTouchMoveCapture={(e) => {
      e.stopPropagation();
    }}
   ...
valk
  • 9,363
  • 12
  • 59
  • 79

0 Answers0