flash-calendar icon indicating copy to clipboard operation
flash-calendar copied to clipboard

Unable to scroll in bottom sheet

Open Rohit3523 opened this issue 1 year ago • 4 comments

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>

Rohit3523 avatar Mar 25 '25 20:03 Rohit3523

+1

nikita10001 avatar Apr 07 '25 09:04 nikita10001

have you solved it?

nikita10001 avatar Apr 07 '25 09:04 nikita10001

Hey, @Rohit3523 ! Can you create and make available a repository with the reproduction of this problem?

mensonones avatar Apr 24 '25 18:04 mensonones

this works for me after adding enableContentPanningGesture={false}

  <BottomSheetModal
      ref={bottomSheetModalRef}
      onChange={handleSheetChanges}
      enableContentPanningGesture={false}
    >

Yassiremt avatar Aug 02 '25 07:08 Yassiremt