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

Chart Error when navigating between pages that have animations #22285

Closed
ivan-angjelkoski opened this issue Jul 22, 2023 · 1 comment
Closed

Comments

@ivan-angjelkoski
Copy link

Environment

Nuxt 3

Reproduction

install apexcharts or any charting library and try to render a chart in a page different than index, when navigating to the page without animations, the chart renders fine, but when i add page transitions, especialy with the 'out-in' mode, the website crashes.

btw SSR is set to false.

Describe the bug

install apexcharts or any charting library and try to render a chart in a page different than index, when navigating to the page without animations, the chart renders fine, but when i add page transitions, especialy with the 'out-in' mode, the website crashes.

Additional context

image image

Logs

No response

@danielroe
Copy link
Member

The core issue here is this one: vuejs/core#5844, which is tracked in nuxt in #13471. It means that on client-side transition the mounted code runs before the dom is actually there. You can try some of the workarounds in that comment thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants