yassilah opened a new issue, #18074: URL: https://github.com/apache/echarts/issues/18074
### Version 5.4.1 ### Link to Minimal Reproduction _No response_ ### Steps to Reproduce 1. Create a custom series 2. Add a `leaveTo` animation to one of the elements ### Current Behavior The animation throws an error and the chart gets broken. ### Expected Behavior The animation should work. ### Environment ```markdown - OS: - Browser: - Framework: ``` ### Any additional comments? There are two issues as far as I could see in the current implementation: 1. the `applyLeaveTransition` method currently applies the `update` rather the `leave` animation options; 2. the inner store doesn't actually store the element option so the animation fails as the `elOption` param is undefined; I'll make a PR right now :) -- 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]
