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

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

Open
NsNe opened this issue Mar 3, 2020 · 8 comments
Open

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

NsNe opened this issue Mar 3, 2020 · 8 comments
Assignees
Labels
bug en This issue is in English
Milestone

Comments

@NsNe
Copy link

NsNe commented Mar 3, 2020

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

@echarts-bot
Copy link

echarts-bot bot commented Mar 3, 2020

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 dev@echarts.apache.org. 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 echarts-bot bot added bug en This issue is in English pending We are not sure about whether this is a bug/new feature. waiting-for: community labels Mar 3, 2020
@100pah 100pah removed pending We are not sure about whether this is a bug/new feature. waiting-for: community labels Mar 3, 2020
@100pah 100pah added this to the TBD milestone Mar 3, 2020
@100pah
Copy link
Member

100pah commented Mar 3, 2020

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

@NsNe
Copy link
Author

NsNe commented Mar 4, 2020

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

@NsNe
Copy link
Author

NsNe commented Mar 4, 2020

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

@100pah 100pah self-assigned this Mar 7, 2020
@100pah 100pah modified the milestones: TBD, 4.8.0 Mar 7, 2020
@100pah
Copy link
Member

100pah commented Mar 7, 2020

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

Also not available in current version. Should be enhanced.

@100pah
Copy link
Member

100pah commented Apr 21, 2020

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

@100pah 100pah modified the milestones: 4.8.0, 4.9.0 Apr 21, 2020
@plainheart
Copy link
Member

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

@github-actions
Copy link
Contributor

github-actions bot commented Aug 4, 2022

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 Aug 4, 2022
@plainheart plainheart removed the stale Inactive for a long time. Will be closed in 7 days. label Aug 6, 2022
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

4 participants