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
Destroy a component while the tooltip is recalculating position, the throttle function attempts to run after the chart has been destroyed.
TypeError: this._zr is null
at getWidth(../node_modules/echarts/lib/core/echarts.js:447:5)
at apply(../node_modules/echarts/lib/component/tooltip/TooltipView.js:647:31)
at exec(../node_modules/echarts/lib/util/throttle.js:72:8)
Current Behavior
getWidth errors
Expected Behavior
The throttle function should be destroyed when the chart is destroyed, or getWidth should fail silently
Version
5.2.2
Link to minimal reproduction
No response
Steps To Reproduce
Destroy a component while the tooltip is recalculating position, the throttle function attempts to run after the chart has been destroyed.
Current Behavior
getWidth errors
Expected Behavior
The throttle function should be destroyed when the chart is destroyed, or getWidth should fail silently
I believe this is not being destroyed
echarts/src/component/tooltip/TooltipView.ts
Line 229 in 6641951
Environment
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: