Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Charts destroyed before router transition ends #579

Closed
laygir opened this issue Nov 13, 2019 · 3 comments · Fixed by #1085
Closed

Charts destroyed before router transition ends #579

laygir opened this issue Nov 13, 2019 · 3 comments · Fixed by #1085

Comments

@laygir
Copy link

laygir commented Nov 13, 2019

Hi! 👋

I have a router-view wrapped with a transition and each time I change routes, before I leave the page, charts are being destroyed, resulting in a sudden disappearance and it's not nice :)

Is there a specific reason for such behavior, or if it would be possible to improve this?

Would changing the following beforeDestroy hook to destroyed fix the issue?

beforeDestroy () {

This is how I use router view with a transition
<transition :name="viewTransition"> <router-view/> </transition>

Cheers!

@laygir
Copy link
Author

laygir commented Jan 19, 2020

Helloo?

@blaadje
Copy link

blaadje commented Mar 23, 2020

same issue

@vladi-strilets
Copy link

Same issue

This was referenced Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants