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

feat(useKeyPress): 添加observe属性控制keyPress 全局监听 #2365

Closed
wants to merge 3 commits into from

Conversation

BastKakrolot
Copy link

@BastKakrolot BastKakrolot commented Nov 13, 2023

🤔 这个变动的性质是?

  • 新特性提交
  • 日常 bug 修复
  • 站点、文档改进
  • 演示代码改进
  • TypeScript 定义更新
  • 包体积优化
  • 性能优化
  • 功能增强
  • 国际化改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他改动(是关于什么的改动?)

🔗 相关 Issue

close: #2364

💡 需求背景和解决方案

根据传入状态来控制是否监听

📝 更新日志

无风险

语言 更新描述
🇺🇸 英文 useKeyPress: add observe to control
🇨🇳 中文 useKeyPress: 添加observe属性控制keyPress 全局监听

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

@CLAassistant
Copy link

CLAassistant commented Nov 13, 2023

CLA assistant check
All committers have signed the CLA.

@liuyib
Copy link
Collaborator

liuyib commented Nov 14, 2023

Thx for your contributation.

@liuyib
Copy link
Collaborator

liuyib commented Nov 14, 2023

这个貌似用不到了?这里先关了吧,后续如果有人搜到这个 PR,反馈到使用场景,可以再合并

@liuyib liuyib closed this Nov 14, 2023
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.

useKeyPress hook should support a way to filter out input, textarea, contenteditable
3 participants