-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latest 0.22.1 resetRoot(saveState = true, restoreState = true)
loses state when using pop
#1439
Comments
I've just added a test for this in #1454 and everything seems to be working as expected. I can't reproduce this. Are you seeing this on any particular device? Also, are you using |
@chrisbanes just restested on api pre 34 and 34. Pre 34 everything looks okay but 34 seems to be the problem. Commenting out |
Unfortunately still seeing the issue. Here is a recording of the issue if that helps. Going back via gesture navigation works, but going back using the up arrow resets the scroll position. |
A state in the ui like |
Ah so this is UI state, rather than something in the |
Updating to newest
0.22.1
resetRoot(saveState = true, restoreState = true)
restores save states correctly but after reseting to a tab with a backstack size greater than 1 callingnavigator.pop()
loses state on previous screens vs going back using gesture navigation which restores everything correctly.Steps to reproduce in chrisbanes/tivi:
pop
loses scroll positionThe text was updated successfully, but these errors were encountered: