Fixed
Status Update
Comments
il...@google.com <il...@google.com> #2
This would also mean that NavOptions / actions with popUpTo set to a destination id not on the back stack would be ignored, perhaps only with logging noting that they were ignored. Still seems preferable over accidentally removing your entire back stack.
il...@google.com <il...@google.com>
il...@google.com <il...@google.com> #3
With alpha03, popBackStack will return false when the back stack is empty or when the given destination ID is not in the back stack.
Description
Version used: 1.0.0-alpha02
Devices/Android versions reproduced on: 8.1
I had expected that calling `navigationController.popBackStack(R.id.myAction, false)` would return false if the destination id does not exist on the back stack.
Instead, it returns true and ends up popping the entire backstack.
It seems it would make more sense for this method to return false and not pop anything if the destination id doesn't exist.