mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-25 23:48:54 +00:00
Add document about use PanResponder on elements with text content
Close #2123
This commit is contained in:
committed by
Nicolas Gallagher
parent
aeae9dd184
commit
192472b226
@@ -13,6 +13,10 @@ eleventyNavigation:
|
||||
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.
|
||||
:::
|
||||
|
||||
:::callout
|
||||
**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:
|
||||
|
||||
* [PanResponder](https://reactnative.dev/docs/panresponder)
|
||||
|
||||
Reference in New Issue
Block a user