flash-calendar
flash-calendar copied to clipboard
Unable to scroll in bottom sheet
When i am passing FlashList from shopify package it renders the calendar but the scroll does not work because of gesture conflict, as per bottom-sheet docs they recommend to pass BottomSheetFlashList from their package to handle the scrolling behaviour inside the bottom sheet but after using it, The package renders white screen.
Can you suggest me any fix?
<BottomSheetModal
index={1}
ref={bottomSheetRef}
snapPoints={snapPoints}
>
<BottomSheetView style={{ height: 400 }}>
<Calendar.List
CalendarScrollComponent={FlashList}
onCalendarDayPress={onCalendarDayPress}
/>
</BottomSheetView>
</BottomSheetModal>
+1
have you solved it?
Hey, @Rohit3523 ! Can you create and make available a repository with the reproduction of this problem?
this works for me after adding enableContentPanningGesture={false}
<BottomSheetModal
ref={bottomSheetModalRef}
onChange={handleSheetChanges}
enableContentPanningGesture={false}
>