TsiarasKon opened a new issue, #20195: URL: https://github.com/apache/echarts/issues/20195
### Version 5.5.1 ### Link to Minimal Reproduction https://echarts.apache.org/examples/en/editor.html?c=line-tooltip-touch ### Steps to Reproduce 0: Open on a Ubuntu (or possibly just non-Windows) system 1. Enable zoom 2. Right-click anywhere on the graph (menu appears) 3. Left-click to close the menu ### Current Behavior Right-clicking while zoom functionality is enabled causes the normal browser dropdown menu to appear but it also begins zooming in the background. This is the case regardless of whether right-click was held down or not. Furthermore, trying to alter that behavior by handling the 'contextmenu' event as you describe in your [docs](https://apache.github.io/echarts-handbook/en/concepts/event/) seems to have no effect. I reproduced this on my Ubuntu machine on both Firefox (video below) and Chrome. https://github.com/user-attachments/assets/c31d63bb-89ec-4839-a71c-17aa2502ac2a ### Expected Behavior A simple right-click on the graph should not initiate the zooming functionality. The expected behavior is currently exhibited on Windows systems at least on the latest versions of Firefox and Chrome that I checked. ### Environment ```markdown - OS: Ubuntu 23.04 - Browser: Firefox 128.0 (64-bit) ``` ### Any additional comments? Ideally, instead of always zooming with either click, an option could be provided to enable 'left-click' zoom only, 'right-click' zoom only or both. -- 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]
