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

在火狐上使用SVG渲染器,图中有shadowBlur时,图对鼠标的反应异常 #15351

Closed
Zkdc opened this issue Jul 14, 2021 · 4 comments

Comments

@Zkdc
Copy link

Zkdc commented Jul 14, 2021

Version

5.1.2

Reproduction link

https://echarts.apache.org/examples/en/editor.html?c=pie-simple

Steps to reproduce

1.打开链接,将渲染器切换为SVG。
2.将鼠标较慢地在饼图上面移动,或在饼图上点击。

What is expected?

像canvas渲染器一样,鼠标经过的地方正常缩放,tooltip稳定跟随鼠标,鼠标点击图时某项数据不会隐藏。

What is actually happening?

鼠标移动时:经过的图项与tooltip来回缩放。
点击时:图内某项数据概率性消失,或概率性重新出现(看起来像是点击了legend某项一样)。


1.不在emphasis内设置shadowBlur,直接设置在series上问题类似。
2.尝试了下柱状图,也有同样的问题。
3.windows下和linux下的火狐都有问题,linux下火狐版本是89.0.2。

@echarts-bot
Copy link

echarts-bot bot commented Jul 14, 2021

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that it contains a minimum reproducible demo and necessary images to illustrate. Otherwise, our committers will ask you to do so.

A minimum reproducible demo should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.

You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.

If you are interested in the project, you may also subscribe our mailing list.

Have a nice day! 🍵

@echarts-bot echarts-bot bot added bug pending We are not sure about whether this is a bug/new feature. waiting-for: community labels Jul 14, 2021
@echarts-bot
Copy link

echarts-bot bot commented Jul 14, 2021

@Zkdc It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people, we'd like to suggest using English next time. 🤗

TRANSLATED

TITLE

Using the SVG renderer on Firefox, the figure reacts abnormally to the mouse when there is shadowBlur in the figure

BODY

Version

5.1.2

Reproduction link

https://echarts.apache.org/examples/en/editor.html?c=pie-simple

Steps to reproduce

  1. Open the link and switch the renderer to SVG.
  2. Move the mouse slowly over the pie chart, or click on the pie chart.

What is expected?

Like the canvas renderer, the place where the mouse passes is scaled normally, the tooltip follows the mouse steadily, and certain data will not be hidden when the mouse clicks on the graph.

What is actually happening?

When the mouse is moving: the passing image items and tooltip zoom back and forth.
When clicked: a certain item of data in the graph disappears probabilistically, or reappears probabilistically (it looks like a certain item of legend is clicked).


  1. Don't set shadowBlur in emphasis, set it directly on series, the problem is similar.
  2. Tried the histogram, but also had the same problem.
  3. There are problems with Firefox under windows and linux. The version of Firefox under linux is 89.0.2.

@pissang pissang removed pending We are not sure about whether this is a bug/new feature. waiting-for: community labels Jul 15, 2021
@github-actions
Copy link
Contributor

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.

@github-actions github-actions bot added the stale Inactive for a long time. Will be closed in 7 days. label Jul 16, 2023
@plainheart plainheart added SVG and removed stale Inactive for a long time. Will be closed in 7 days. labels Jul 18, 2023
@plainheart
Copy link
Member

Fixed in ecomfe/zrender#812

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants