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
If there is a nested NavGraph under the current bottomSheet destination
and you do a back press, instead of the bottomSheet which is the topmost
destination being popped, the nested NavHost underneath will be popped
instead. This is caused by bottomSheet not properly intercepting back presses.
This change added a BackHandler to ensure that bottomsheets correctly
respect the system back hierarchy for back events.
Fixes: google#1726
Description
When there is a nested navigation, the topmost bottom sheet does not gets the back event, the nested navigatitor pops instead.
Steps to reproduce
Expected behavior
The bottom sheet closes.
Additional context
Bottom sheet stays visible, under it we navigate back to nested1 screen.
The text was updated successfully, but these errors were encountered: