We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
mouse 模式下,只计算了横坐标,没有计算纵坐标,导致 tooltip 只能展示在 node 的底部,并没有真正的做到模拟 title 的效果
mouse
tooltip
node
title
加上 clientY 的计算,最好可以加上 offset 来控制偏移量
clientY
offset
The text was updated successfully, but these errors were encountered:
👋 @moecasts,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
native title 是这个样子 现在是想加clientY 变成什么样子?@moecasts
@uyarn 原生的也是有算上 clientY 的,是跟在鼠标旁边,而不是 node 旁边
feat(tooltip): tooltip-lite mouse 模式跟随鼠标位置
cb14857
fix #3225
HaixingOoO
Successfully merging a pull request may close this issue.
这个功能解决了什么问题
mouse
模式下,只计算了横坐标,没有计算纵坐标,导致tooltip
只能展示在node
的底部,并没有真正的做到模拟title
的效果你建议的方案是什么
加上
clientY
的计算,最好可以加上offset
来控制偏移量The text was updated successfully, but these errors were encountered: