echarts icon indicating copy to clipboard operation
echarts copied to clipboard

treemap位置导致第二次hover无效 & emphasis.label.formatter无效

Open NsNe opened this issue 4 years ago • 8 comments

Version

4.6.0

Reproduction link

https://gallery.echartsjs.com/editor.html?c=xWpJNfAP-&v=3

Steps to reproduce

  1. left或top置为0,鼠标hover,第一次从外部进入有效果,第二次从外部进入无效
  2. emphasis.label.formatter无效果

What is expected?

正常

What is actually happening?

出现bug

NsNe avatar Mar 03 '20 11:03 NsNe

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 you have posted enough image to demo your request. 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 [email protected]. Please attach the issue link if it's a technical questions.

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

Have a nice day! 🍵

echarts-bot[bot] avatar Mar 03 '20 11:03 echarts-bot[bot]

To reproduce it: need to move the cursor from outside the echarts to a rect, and need to move very fast.

100pah avatar Mar 03 '20 19:03 100pah

move the cursor from these direction to a rect very slowly. You can reproduce it too. image

NsNe avatar Mar 04 '20 02:03 NsNe

Is there any way to solve the issue that emphasis.label.formatter is invalid

NsNe avatar Mar 04 '20 02:03 NsNe

Is there any way to solve the issue that emphasis.label.formatter is invalid

Also not available in current version. Should be enhanced.

100pah avatar Mar 07 '20 19:03 100pah

The emphasis.format.label problem is fixed in #12471. The hover bug is not fixed yet.

100pah avatar Apr 21 '20 20:04 100pah

Seems to have nothing to do with treemap but related to zrender.

When the mouse moves out the chart painter globally, it should set last hovered target to empty object {} as the resize function does, otherwise as the logic in Line 218 - Line 220, it won't trigger mouseover event in this case.

But not sure whether it should be placed at the bottom or just into the if (eventControl !== 'no_globalout') judgment.

image

2020-07-07 10 57 01

plainheart avatar Jul 07 '20 03:07 plainheart

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[bot] avatar Aug 04 '22 21:08 github-actions[bot]