react-router
react-router copied to clipboard
[Bug]: ScrollRestoration breaks back-gresture Previews on iOS when scroll position is not 0
What version of React Router are you using?
6.15.0
Steps to Reproduce
- Navigate
- Scroll down
- Use back-navigation Gesture
Expected Behavior
Back preview is shown during gesture.
Actual Behavior
Blank page is shown during gesture.
https://github.com/remix-run/react-router/assets/4067078/0ed59bfd-1930-43a5-bcf6-d6036db36503
I am experiencing the exact the same issue on v.6.19.0.