我正在尝试在底部表 (@gorhom/bottom-sheet) 中实现评论部分。 我面临的问题是,当我尝试滚动内容(评论)时,它不起作用,而是底部工作表折叠起来。
这是我试过的:
<BottomSheet
ref={bottomSheetRef}
index={0}
snapPoints={snapPoints}
onChange={handleSheetChanges}
>
<View style={styles.contentContainer}>
<Text>{comments} Comments</Text>
<Comments />
</View>
</BottomSheet>
你试过使用 BottomSheetFlatlist 吗? https://gorhom.github.io/react-native-bottom-sheet/components/bottomsheetflatlist?