Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android: Swipe-to-close doesn't work #15

Open
ice-cap0 opened this issue May 29, 2023 · 0 comments
Open

Android: Swipe-to-close doesn't work #15

ice-cap0 opened this issue May 29, 2023 · 0 comments

Comments

@ice-cap0
Copy link

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"
      />
    ),
    [],
  );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant