react-navigation-bottom-sheet icon indicating copy to clipboard operation
react-navigation-bottom-sheet copied to clipboard

Android: Swipe-to-close doesn't work

Open frozencap opened this issue 1 year ago • 0 comments

Swipe-to-close the BottomSheetModal doesn't work neither on Emulators nor on physical devices. Handle just doesn't respond.

Could there be a common gotcha going on here? My navigator is as vanilla as it gets, except for a backdrop

  const renderBackdrop = useCallback(
    (props: BottomSheetBackdropProps) => (
      <BottomSheetBackdrop
        {...props}
        appearsOnIndex={0}
        disappearsOnIndex={-1}
        opacity={0.8}
        pressBehavior="close"
      />
    ),
    [],
  );

frozencap avatar May 29 '23 12:05 frozencap