Prevent View Transitions when hasUAVisualTransition is set to true #12436
stefanvonderkrone
started this conversation in
Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi dear react router team,
I'd like to propose that the current implementation of view transitions should be adjusted to accommodate for the
hasUAVisualTransition
property of the PopStateEvent. Currently, when I swipe back to a previous history state (that had a view transition) the transition will start over and the UI looks weird. There was a manual transition by the user so there is no need for the View Transition at all.I believe the POP Action is the culprit.
In the video below from my iPhone you see what I mean.
ScreenRecording_12-02-2024.17-05-58_1.MP4
Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions