I just into this issue while using app-router.
To reproduce it, go to this functional test in app-router repo :
http://localhost:8080/tests/functional-tests/test-core-animated-pages.html#/first
Then click twice on the '/second' link (let say you inadvertently double click on the link).
Then wait 5 seconds or so, and the content of the '/second' route will disappear.
My diagnostic of this issue is the following:
when you click the first time, a transition is started from previousRoute to the new route, and activeRoute is set to '/second'
Few seconds later, the transition initiated in 1) ends, event 'core-animated-pages-transition-end' is fired. Function transitionAnimationEnd is called, which removes the content of previousRoute, which is unfortunately the same as the activeRoute.
I'm creating a pull request with a fix, not sure however this is the right solution.
Hi,
I just into this issue while using app-router. To reproduce it, go to this functional test in app-router repo : http://localhost:8080/tests/functional-tests/test-core-animated-pages.html#/first Then click twice on the '/second' link (let say you inadvertently double click on the link). Then wait 5 seconds or so, and the content of the '/second' route will disappear.
My diagnostic of this issue is the following:
I'm creating a pull request with a fix, not sure however this is the right solution.
Thanks
Pascal