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
Probably, there needs to be some validation to that resize handler and only pass-through to plotly's resize handler if the component is visible on the UI
The text was updated successfully, but these errors were encountered:
Error faced:
Resize must be passed a displayed plot div element.
Investigation:
If plotly vue component is dynamically rendered (hidden / destroyed), the resize handler setup here - https://github.com/David-Desmaisons/vue-plotly/blob/master/src/components/Plotly.vue#L83 gets called even though the next action the component is its destruction.
Probably, there needs to be some validation to that resize handler and only pass-through to plotly's resize handler if the component is visible on the UI
The text was updated successfully, but these errors were encountered: