seaheart opened a new issue, #21083: URL: https://github.com/apache/echarts/issues/21083
### Version 5.6.0 ### Link to Minimal Reproduction https://echarts.apache.org/examples/zh/editor.html?c=line&lang=ts ### Steps to Reproduce 1. Set tooltip formatter to function, like: () => dom string 2. Destory and recreate chart by operate setOption frequently 3. Open chrome and check memory then see detached dom nodes ### Current Behavior  ### Expected Behavior no tooltipHtmlContent leaks ### Environment ```markdown - OS: - Browser: - Framework: ``` ### Any additional comments? [v5.6.0](https://github.com/apache/echarts/blob/5.6.0/src/component/tooltip/TooltipHTMLContent.ts#L527) <img width="439" alt="Image" src="https://github.com/user-attachments/assets/6660ff6d-12ad-4ae4-a1ca-a5309407c941" /> in tooltipHTMLContent dispose function, there has not remove the events handler:onmouseenter、onmousemove、onmouseleave, that may case memory leaks! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
