Open akbari6776 opened 3 years ago
in second image, close button on the top-left is not working because it is on the discover text
It will work if I lower the height of the bottonSheet and the close button is not placed on the discover text
text content style :
content:{ paddingLeft: 10, paddingRight: 10, }
In the bottomSheet add --> enabledContentGestureInteraction={false}
Below is the bottom sheet which I implemented. It works
<BottomSheet
ref={sheetRef}
snapPoints={[200, 0]}
initialSnap={1}
enabledGestureInteraction={true}
enabledContentGestureInteraction={false}
renderHeader={renderHead}
renderContent={renderContent}
/>
@captainkishore21 This way it would be impossible to move the BottomSheet with swipes. The actual solution is to import Touchables from react-native-gesture-handler
and not from react-native
. Take a look here: #219
Hello My page content for test create with View and inside of View i have Text, when bottomSheet is open i can slideUp and SlideDown but every buttons in the renderHeader or renderInner is not working because I realized that only the part of the bottomSheet that is on the view and text does not work , It looks like the view or text puts a hidden overlay on that part of the bottomSheet and this prevents the buttons from that part from being pressed.(my english is bad sorry)