echarts
echarts copied to clipboard
treemap位置导致第二次hover无效 & emphasis.label.formatter无效
Version
4.6.0
Reproduction link
https://gallery.echartsjs.com/editor.html?c=xWpJNfAP-&v=3
Steps to reproduce
- left或top置为0,鼠标hover,第一次从外部进入有效果,第二次从外部进入无效
- emphasis.label.formatter无效果
What is expected?
正常
What is actually happening?
出现bug
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! 🍵
To reproduce it: need to move the cursor from outside the echarts to a rect, and need to move very fast.
move the cursor from these direction to a rect very slowly. You can reproduce it too.
Is there any way to solve the issue that emphasis.label.formatter is invalid
Is there any way to solve the issue that emphasis.label.formatter is invalid
Also not available in current version. Should be enhanced.
The emphasis.format.label
problem is fixed in #12471.
The hover bug is not fixed yet.
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.
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.