PreCompose
PreCompose copied to clipboard
[BUG] Swipe to go back in 1.7.0-alpha03 won't trigger proper backStackEntry state
Describe the bug After developing switch between scene using the "swipe to go back" feature on iOS, I stumbled into the issue where my action bar would show the "main" screen but still show the "detail" screen. Investigating the issue showed that the entry shown was still the "detail" view even tho I swapped.
The expected behaviour was to go back to the main screen. I rolled back to 1.7.0-alpha01 and the issue disappeared -> going back using the swipe feature is working
To Reproduce Steps to reproduce the behavior:
- use 1.7.0-alpha03
- create a navigation with 2 screens with a SwipeProperties()
- nav from scene1 to scene2
- make a swipe back, scene2 is still shown and the state of the entry still says that there are 2 scenes in the stack
Expected behavior
scene1 should appear