PanResponder

PanResponder reconciles several pointers into a single gesture. It makes single-pointer gestures resilient to extra touches, and can be used to recognize basic multi-touch gestures.

Note: Using the PanResponder on components that contain text may cause native text selection events to interrupt the pan gesture. This can be avoided by setting userSelect: 'none' on the text elements while the gesture is active.

Please refer to the React Native documentation below:


Examples

Updated
Edit
React Native for WebCopyright © Nicolas Gallagher and Meta Platforms, Inc.