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
Is your feature request related to a problem? Please describe.
When using animation libraries to make page transitions, the router doesn't wait for the exit animation to finish before changing the route and query parameters. The creates the problem that the old page during fade-out is re-rendered again with the route and query parameters of the new page it is transitioning to.
Describe the solution you'd like
Do not change route and query parameters before old page is completely unmounted.
This discussion was converted from issue #15099 on April 12, 2021 11:56.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Feature request
Is your feature request related to a problem? Please describe.
When using animation libraries to make page transitions, the router doesn't wait for the exit animation to finish before changing the route and query parameters. The creates the problem that the old page during fade-out is re-rendered again with the route and query parameters of the new page it is transitioning to.
Describe the solution you'd like
Do not change route and query parameters before old page is completely unmounted.
Additional context
For an example, see this issue:
illinois/next-page-transitions#23 (comment)
Beta Was this translation helpful? Give feedback.
All reactions