[WIP] - replace preventDefaultTouchmoveEvent with touchEventOptions #235
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Attempt to remove
preventDefaultTouchmoveEventwhich has always been a very complicated and hard to describe prop and replace it withtouchEventOptions.Mimicking our good friends over at https://use-gesture.netlify.app/docs/options/#eventoptions
touchEventOptions: AddEventListenerOptions{ passive: true }react-swipeableusers more control over the events and when and if they want to call things likeevent.preventDefaultPossible solution for both #224 and #231.
TODOs:
preventDefaultTouchmoveEventand examples on how to prevent scrolling via callingevent.preventDefaultin user land manuallyonTapsolution whentrackTouchandtrackMousearetrue