Prevent execution of animation after dynamically changing variants #1555
Unanswered
timfuhrmann
asked this question in
Q&A
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.
I have a page transition that varies respective to the window's width. It works fine, but whenever
isDesktopchanges and the variants are being switched, the animation is being triggered, in other word a page transition on resize. Is there any way to prevent that, to exclusively trigger the animation on route/key change?All reactions