Skip to content

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

Open
Luncode wants to merge 2 commits into
alibaba:masterfrom
Luncode:master
Open

feat(useHover): add a long-time hover event#2796
Luncode wants to merge 2 commits into
alibaba:masterfrom
Luncode:master

Conversation

@Luncode

@Luncode Luncode commented Jul 2, 2025

Copy link
Copy Markdown

[中文版模板 / 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

CLAassistant commented Jul 2, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@Luncode

Luncode commented Jul 7, 2025

Copy link
Copy Markdown
Author

@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

ianzone commented Jul 25, 2025

Copy link
Copy Markdown
Contributor

同学可以把测试文件改为 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