-
Notifications
You must be signed in to change notification settings - Fork 194
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
🐛 G2 图表的单元格显示 tooltip 会抛出 Error #2843
Labels
Comments
lijinke666
added a commit
that referenced
this issue
Aug 16, 2024
5 tasks
5 tasks
lijinke666
added a commit
that referenced
this issue
Aug 23, 2024
🎉 This issue has been resolved in version @antv/s2-v2.0.0-next.27 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🏷 Version
Sheet Type
🖋 Description
我在明细表中的一个单元格中画了 G2 的图,用鼠标点击该单元时,不出现 tooltip 并且在控制台中会抛出 Error,如下图所示。
当在 s2Option 中将 tooltip 设置为不显示(
tooltip:{enable: false}
)时,就不会出现在控制台中出现该 Error 信息,所以我判断是 tooltip 显示时的问题。⌨️ Code Snapshots
s2Options 和 SheetComponent 的配置内容、报错截图如下所示。
s2Options
SheetComponent
控制台报错信息
控制台一共会出现四个报错信息
🔗 Reproduce Link
https://codesandbox.io/p/sandbox/s2-tooltip-bug-vhnv2s
🤔 Steps to Reproduce
😊 Expected Behavior
鼠标点击/鼠标移入 带有G2绘制图的单元格时,在 DevTools 控制台中不出现任何错误信息
😅 Current Behavior
鼠标点击/鼠标移入 带有G2绘制图的单元格时,在 DevTools 控制台中出现错误信息
💻 System information
The text was updated successfully, but these errors were encountered: