Skip to content

feat(useHover): add a long-time hover event #2796

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

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

Conversation

Luncode
Copy link

@Luncode Luncode commented Jul 2, 2025

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Internationalization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

close: #2666

💡 Background and solution

新增longHoverDuration配置和onLongHover回调函数

📝 Changelog

Language Changelog
🇺🇸 English
🇨🇳 Chinese

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

@CLAassistant
Copy link

CLAassistant commented Jul 2, 2025

CLA assistant check
All committers have signed the CLA.

@Luncode
Copy link
Author

Luncode commented Jul 7, 2025

@li-jia-nan @liuyib Hi~ o( ̄▽ ̄)ブ 方便时能帮忙 Review 一下吗 谢谢!

@liuyib liuyib changed the title useHover中新增长时间悬停事件 feat(useHover): add a long-time hover event Jul 7, 2025
@ianzone
Copy link
Contributor

ianzone commented Jul 25, 2025

同学可以把测试文件改为 vitest 的吗?路径为 tests/index.spec.tsx
jest 将被移除

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.

是否需要增加useLongHover 的hook?
3 participants