Closed kueda closed 2 weeks ago
Noting that this seems to be happening for RootExplore but not for Explore. I can replicate when tapping on RootExplore from the tab bar. I can't replicate when navigating to TaxonDetails -> Explore -> any observation -> Explore -- in this case, the Explore scroll is preserved.
Another symptom:
Describe the bug When you're browsing observations in Explore and you go to ObsDetails, when you return the list of observations is scrolled back to the top.
To Reproduce Steps to reproduce the behavior:
Expected behavior Explore should remember your scroll position.
Context (please complete the following information):
Additional context This probably has to do with the way we stow Explore state when leaving so we can restore it later... but ideally Explore should just not reset its state when it does this. Maybe it should when you push another instance of Explore on the navigation state, but not right when you leave. Another symptom here is that when you tap an observation, there's a flash where Explore resets to species view before navigating away. That shouldn't happen either.
Reported by Tony.