erosca opened a new issue, #20361: URL: https://github.com/apache/echarts/issues/20361
### Version 5.5.1 ### Link to Minimal Reproduction https://echarts.apache.org/examples/en/editor.html?c=treemap-obama&lang=js&version=5.5.1 ### Steps to Reproduce 1. Open public example: https://echarts.apache.org/examples/en/editor.html?c=treemap-obama&lang=js&version=5.5.1 2. Hold left mouse click, make sure that panning works on the dataset opened by default (2012Budget) 3. Switch to 2011Budget by pressing the button in the Legend. Panning by left-mouse-click-hold still works. 4. Switch back to 2012Budget. Panning no longer works. Position of the chart is fixed. ### Current Behavior See "Steps to Reproduce" ### Expected Behavior Panning by mouse click should work regardless how many times you switch between legend datasets/tabs. ### Environment ```markdown - OS: Ubuntu 22.04 - Browser: Firefox 130.0.1, Chrome 128.0.6613.137 - Framework: https://echarts.apache.org/ ``` ### Any additional comments? _No response_ -- 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]
