From 3f6b52186ab06f67be578324018edc4af5c24402 Mon Sep 17 00:00:00 2001 From: Jack Tomaszewski Date: Thu, 4 Jun 2020 12:40:45 +0200 Subject: [PATCH] docs: Add more info about `enabledContentTapInteraction` prop Should help solving issues like https://github.com/osdnk/react-native-reanimated-bottom-sheet/issues/219 , https://github.com/osdnk/react-native-reanimated-bottom-sheet/issues/16 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1310b84..4945749 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ class Example extends React.Component { | enabledGestureInteraction | no | `true` | Defines if bottom sheet could be scrollable by gesture. | | enabledHeaderGestureInteraction | no | `true` | Defines if bottom sheet header could be scrollable by gesture. | | enabledContentGestureInteraction | no | `true` | Defines if bottom sheet content could be scrollable by gesture. | -| enabledContentTapInteraction | no | `true` | Defines whether bottom sheet content could be tapped. | +| enabledContentTapInteraction | no | `true` | Defines whether bottom sheet content could be tapped. **Note:** If you use `Touchable*` components inside your `renderContent`, you'll have to switch this to `false` to make handlers like `onPress` work. (See [this comment](https://github.com/osdnk/react-native-reanimated-bottom-sheet/issues/219#issuecomment-625894292).) | | enabledManualSnapping | no | `true` | If `false` blocks snapping using `snapTo` method. | | enabledBottomClamp | no | `false` | If `true` block movement is clamped from bottom to minimal snapPoint. | | enabledBottomInitialAnimation | no | `false` | If `true` sheet will grows up from bottom to initial snapPoint. |