PreCompose icon indicating copy to clipboard operation
PreCompose copied to clipboard

[BUG] Swipe to go back in 1.7.0-alpha03 won't trigger proper backStackEntry state

Open codlab opened this issue 1 year ago • 0 comments

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:

  1. use 1.7.0-alpha03
  2. create a navigation with 2 screens with a SwipeProperties()
  3. nav from scene1 to scene2
  4. 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

codlab avatar Dec 11 '24 19:12 codlab