osdnk / react-native-reanimated-bottom-sheet

Highly configurable bottom sheet component made with react-native-reanimated and react-native-gesture-handler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

enabledGestureInteraction Prop

tnoct opened this issue · comments

enabledGestureInteraction is not working in Android as i swipe the sheet downward.

<>
<View
style={{
flex: 1,
backgroundColor: 'papayawhip',
alignItems: 'center',
justifyContent: 'center',
}}>
<Button
title="Open Bottom Sheet"
onPress={() => sheetRef.current.snapTo(1)}
/>

<BottomSheet
ref={sheetRef}
snapPoints={[450, 300, 0]}
initialSnap={2}
borderRadius={20}
callbackNode={fall}
// enabledContentGestureInteraction={true}
enabledGestureInteraction={true}
renderContent={renderContent}
// renderHeader={}
/>
`</>```