I think I got it to work by changing cancelTouch function:
cancelTouch
const cancelTouch = (e: TouchEvent) => e.cancelable && e.preventDefault();