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
Describe the bug
When navigating from a page with a chart to another page, some error appear in the console (see screenshot). Tracking the source seems to be a resize event. Is the chart properly destroy when switching page ?
I'm using Livewire Volt (class based). That means there is no render function and so i'm creating the charts in the with function.
To Reproduce
From a page with a chart, navigate to another page
Expected behavior
No error in the console
Screenshots
Resulting errors in the console
Additional context
Minimal Volt component for reproduction:
test.blade.php
Did anyone manage to get this fixed? Having the same issue where using wire:navigate is causing the nested component to throw errors in the console and destroying the chart.
Describe the bug
When navigating from a page with a chart to another page, some error appear in the console (see screenshot). Tracking the source seems to be a resize event. Is the chart properly destroy when switching page ?
I'm using Livewire Volt (class based). That means there is no
render
function and so i'm creating the charts in thewith
function.To Reproduce
From a page with a chart, navigate to another page
Expected behavior
No error in the console
Screenshots
Resulting errors in the console
Additional context
Minimal Volt component for reproduction:
test.blade.php
Solution Ideas
Destroying the chart before leaving the page / unregistering the events
The text was updated successfully, but these errors were encountered: