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

fix: Trigger: 修复mouseLeaveDelay为0时popupHoverStay会失效的bug #1619

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kakachake
Copy link

Types of changes

  • New feature
  • Bug fix
  • Enhancement
  • Documentation change
  • Coding style change
  • Component style change
  • Refactoring
  • Test cases
  • Continuous integration
  • Typescript definition change
  • Breaking change
  • Others

Background and context

默认情况下,Trigger的mouseLeaveDelay设置为0时,会导致鼠标移不到popup里面去,不清楚是bug还是feature

Solution

修改delayToDo函数,全部使用setTimeout进行延迟执行。

Changelog

Component Changelog(CN) Changelog(EN) Related issues
Trigger 修复 Trigger 组件在 mouseLeaveDelay0triggerhover时, 鼠标移不到popup里面的bug Fix the bug in the popup when the trigger component cannot move the mouse when the mouseLeaveDelay is 0 and the trigger is hover

@yinkaihui
Copy link
Contributor

不好意思,同学, pnpm 文件 被误提交了

@kakachake
Copy link
Author

不好意思,同学, pnpm 文件 被误提交了

直接删除掉可以吗

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

Successfully merging this pull request may close these issues.

None yet

2 participants