-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
vue3 中使用内置的Tooltip无法消失 #5966
Comments
目前没有收到更多 Vue3 用户的类似反馈,建议先进行自查 |
This issue has been closed because it has been outdate for a long time. 这个 issue 已经被关闭,因为 它已经过期很久了。 |
同样的问题,鼠标从节点移开,tooltip不关闭 |
同样的问题,vue3,G6 4.8.21, tooltip不会消失 ToolTip
graph
效果tooltip.mp4 |
Describe the bug / 问题描述
版本:
G6:4.8.21,
vue:3.4.27
我设置的内置的tooltip,显示正确,但是移出节点的时候,Tooltip依旧显示,没有消失!在vue2中是正常的
Reproduction link / 重现链接
No response
Steps to Reproduce the Bug or Issue / 重现步骤
No response
G6 Version / G6 版本
4.x
Operating System / 操作系统
macOS
Browser / 浏览器
Chrome
Additional context / 补充说明
modes: {
default: [
{
type: "tooltip",
formatText(model) {
var text =
content
;return text;
},
shouldBegin(e) {
return that.tooltipFlag;
},
shouldUpdate() {
return true;
},
},
"drag-canvas",
"zoom-canvas",
],
},
The text was updated successfully, but these errors were encountered: