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

fix: tooltip for custom element #6140

Merged
merged 1 commit into from Mar 20, 2024
Merged

Conversation

pearmini
Copy link
Member

  • 问题:修复词云图 tooltip 不展示。
  • 原因:text 是一个 custom shape,触发事件的对象不是 element 元素,而是子元素,导致当前判断失效。
  • 解决办法:触发的标注改成:该元素是 element 的子元素。

@coveralls
Copy link

Pull Request Test Coverage Report for Build 8353493593

Details

  • 12 of 12 (100.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.005%) to 86.451%

Totals Coverage Status
Change from base Build 8325246581: 0.005%
Covered Lines: 10260
Relevant Lines: 11500

💛 - Coveralls

@pearmini pearmini merged commit 72d8900 into v5 Mar 20, 2024
2 checks passed
@pearmini pearmini deleted the fix-tooltip-for-custom-element branch March 20, 2024 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants