Add document about use PanResponder on elements with text content

Close #2123
This commit is contained in:
Warr1611
2021-09-05 17:48:00 -04:00
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)