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
Describe the bug
There's an issue when navigating from <swipeable> to <fragment> destination, the fragment will not be added to the backstack, which makes impossible to go back using popBackStack() or navigateUp() methods.
To Reproduce
Steps to reproduce the behavior:
Make <swipeable> your start destination
Navigate to a <fragment> destination
Call popBackStack() to return to the previous fragment
Any ideas of how to fix
The issue is not exactly in SwipeBackNavigator, It's the default behavior of androidx.navigation.fragment.FragmentNavigator, which depends on the backstack size to decide whether it should add a transaction to the backstack or not.
The text was updated successfully, but these errors were encountered:
Describe the bug
There's an issue when navigating from
<swipeable>
to<fragment>
destination, the fragment will not be added to the backstack, which makes impossible to go back usingpopBackStack()
ornavigateUp()
methods.To Reproduce
Steps to reproduce the behavior:
<swipeable>
your start destination<fragment>
destinationpopBackStack()
to return to the previous fragmentAny ideas of how to fix
The issue is not exactly in SwipeBackNavigator, It's the default behavior of
androidx.navigation.fragment.FragmentNavigator
, which depends on the backstack size to decide whether it should add a transaction to the backstack or not.The text was updated successfully, but these errors were encountered: