Apache ECharts is a powerful, interactive charting and data visualization library for browser
60.21k
stars
19.61k
forks
source link
[Bug] The location of the tooltip is not under the mouse-cursor if the document-body is zoomed using CSS-zoom #20350
Open
ta834n opened 5 days ago
Version
5.5.1
Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=line-stack
Steps to Reproduce
document.body.style.zoom = '1.5';
Current Behavior
The location of the tooltip is not under the mouse-cursor if the body is zoomed.
Expected Behavior
The location of the tooltip should be under the mouse-cursor if the body is zoomed.
Environment
Any additional comments?
Since May 2024, CSS zoom is standardized and not depcrecated anymore (see Notes: https://caniuse.com/?search=zoom)
Chrome 128 implements this already, see: https://chromestatus.com/feature/5198254868529152