Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[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 this issue Sep 17, 2024 · 1 comment
Labels
bug en This issue is in English
Milestone

Comments

@ta834n
Copy link

ta834n commented Sep 17, 2024

Version

5.5.1

Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?c=line-stack

Steps to Reproduce

  1. Go to https://echarts.apache.org/examples/en/editor.html?c=line-stack
  2. Add the following line to the end of the JS-file: document.body.style.zoom = '1.5';
  3. Hover over the chart: the tooltip / cross-hair is not located under the mouse-cursor

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

- OS: Ubuntu 24.04.1 LTS
- Browser: Google Chrome Version 128.0.6613.137 (Official Build) (64-bit)
- Framework: none

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

@ta834n ta834n added the bug label Sep 17, 2024
@echarts-bot echarts-bot bot added en This issue is in English pending We are not sure about whether this is a bug/new feature. labels Sep 17, 2024
@plainheart
Copy link
Member

Thanks for your report. This is a known issue. We will consider supporting it in future versions.

@plainheart plainheart removed the pending We are not sure about whether this is a bug/new feature. label Sep 17, 2024
@plainheart plainheart added this to the 6.0.0 milestone Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug en This issue is in English
Projects
None yet
Development

No branches or pull requests

2 participants