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

Undefined tooltip element #5835

Closed
thejasonxie opened this issue Nov 23, 2023 · 1 comment
Closed

Undefined tooltip element #5835

thejasonxie opened this issue Nov 23, 2023 · 1 comment

Comments

@thejasonxie
Copy link

问题描述

https://github.com/antvis/G2/blob/v4.1.x/src/chart/controller/tooltip.ts#L655

element could be undefined. Leads to err in local dev. Seems issue is not in build though
Screenshot 2023-11-23 at 3 08 39 PM

重现链接

No response

重现步骤

No response

预期行为

No response

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@pearmini
Copy link
Member

close by: 52a5955

pearmini pushed a commit that referenced this issue Nov 27, 2023
* fix: undefined tooltip element (#5835)

* fix: ci failed linting

* fix: ci failed test chart show and hide

* fix: ci failed test allow sufficient animation time

* fix: ci increase setTimeout duration for animate test

* Revert "fix: ci failed test chart show and hide"

This reverts commit d8c52d1.

* fix: override chart show and hide method
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

No branches or pull requests

2 participants