-
Notifications
You must be signed in to change notification settings - Fork 19.6k
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
在手机浏览器(安卓、IOS)中,当echarts图表父级dom的transform进行scale缩放时,出现鼠标焦点偏移的问题。 #6083
Comments
#3635 说的解决了这个BUG,PC浏览器上好像没这个问题了但是移动设备上还是不行。 |
没有人遇到这种情况吗? |
This bug is affecting mobile only. On desktop this is fine. Whenever you try to interact with a chart on mobile via touch, your "mouse" co-ordinates are offset. So a click at a certain point actually hits another area of the chart. As mentioned by another user, this issue did affect desktop but was fixed on #3635. I believe DPI calculations are the reason it is still affecting mobile. It is difficult to interact with charts on mobile until this issue is fixed because trying to click on a bar always highlights a different bar. Issue found on version 3.7.2 |
Any chance to have a look on this @pissang ? I can do more investigation if needed. |
最新版本仍然存在这个问题,PC浏览器正常,在移动设备上都不行。 |
遇到同样问题,希望尽快解决 |
希望能尽快修复,或者可以提供下解决思路 |
i have this problem https://echarts.apache.org/examples/en/editor.html past this code on editor and run ... |
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue. |
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks! |
One-line summary [问题简述]
在手机浏览器(安卓、IOS)中,当echarts图表父级dom的transform进行scale缩放时,出现鼠标焦点偏移的问题。
Version & Environment [版本及环境]
Expected behaviour [期望结果]
正确定位鼠标点击位置
ECharts option [ECharts配置项]
Other comments [其他信息]
在eChart.init目标dom 或者其父级 父级的父级 设置stlye : transform:scale(n); n!=1
The text was updated successfully, but these errors were encountered: