You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This causes problems about the order of the backhandlers when others views have registered a BackHandler after the bottomsheet navigator as they will get the event first and will act on it before the BottomSheet.
The proper way is to add the back handler only when the sheet is visible, meaning it's always added last and will have the priority.
So
if (sheetState.isVisible) {
BackHandler(
The text was updated successfully, but these errors were encountered:
Currently the BackHandler is handled as
This causes problems about the order of the backhandlers when others views have registered a BackHandler after the bottomsheet navigator as they will get the event first and will act on it before the BottomSheet.
The proper way is to add the back handler only when the sheet is visible, meaning it's always added last and will have the priority.
So
The text was updated successfully, but these errors were encountered: