vueComponent / ant-design-vue

🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜

Home Page:https://antdv.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

将页面全屏时Tooltip组件的提示文字可能并不会自动消失

czhlin opened this issue · comments

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.2.1

Environment

window10,edge,vue3

Reproduction link

Edit on CodeSandbox

Steps to reproduce

1.将鼠标指针放在全屏按钮上等待tooltip弹出文字
2.点击全屏按钮进入全屏状态
3.将鼠标指针放在全屏按钮上等待tooltip弹出文字
4.点击全屏按钮取消全屏状态
5.会发现鼠标指针在tooltip外而tooltip的文字没有消失

What is expected?

期望这种强制移动到tooltip边界的情况也可以让tooltip文字自动消失,

What is actually happening?

实际结果是强制移动会导致鼠标指针移出到tooltip边界而tooltip文字没有自动消失
image
image