You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'm trying to create a simple transition only on a specific page in a nuxt project. Assume we have 3 pages and you want only a transition on the second page.
For example:
on enter fade in with a green background
on leave fade out with a red background
I've added the transition option only to the second page. The result is little bit weird - i get the enter transition on the second page (as expected) but i get the leave transition only on the first or third page.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello everybody,
i'm trying to create a simple transition only on a specific page in a nuxt project. Assume we have 3 pages and you want only a transition on the second page.
For example:
I've added the transition option only to the second page. The result is little bit weird - i get the enter transition on the second page (as expected) but i get the leave transition only on the first or third page.
You can see the sample code here : https://codesandbox.io/s/zealous-kepler-o48l1
Am i doing something wrong or is the behavior as it should be?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions