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

BackHandler doesn't work if bottom sheet active #60

Open
sergionettl opened this issue Sep 9, 2024 · 0 comments
Open

BackHandler doesn't work if bottom sheet active #60

sergionettl opened this issue Sep 9, 2024 · 0 comments

Comments

@sergionettl
Copy link

Please complete the following information:

  • Library Version: v0.1.5
  • Affected Device(s) : Any

Describe the Bug:
Adding BackHandler onBack callback doesn't get called if BackHandler is added and the bottom sheet in visible.

Expected Behavior:
To control the back navigation manually I would expect that BackHandler to work in combination to the FlexibleBottomSheet.

Notes:
I noticed looking at the source code that FlexibleBottomSheetPopup controls the BackHandle behaviour and that it will force you to go to sheetState.intermediatelyExpand() if current is FullyExpanded. What if we want to make it close completely instead?

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