Replies: 1 comment
-
Opened a pr for this: #4031 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm working on a project in which I need to implement view transitions.
But I couldn't find a good way to implement different animations based on the navigation direction (history.back() should run a different animation).
I implemented something like the example code but it works based on hoping that the router makes the changes during the async transition callback. It kinda works but not reliably. Sometimes the router swaps the dom outside the transition window. Any ideas?
This exact code probably doesn't work, haven't tried. Added it just to give an idea conceptually.
Beta Was this translation helpful? Give feedback.
All reactions