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(input): 修复特殊场景下自动清除失效问题 #2240

Merged
merged 2 commits into from
May 14, 2024

Conversation

eiinu
Copy link
Member

@eiinu eiinu commented May 10, 2024

🤔 这个变动的性质是?

1、延长 setActive 触发的时间,避免 clear 按钮消失后无法触发自动清除事件
2、clear 区域添加了 cursor: pointer 样式

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

🔗 相关 Issue

💡 需求背景和解决方案

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

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

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • fork仓库代码是否为最新避免文件冲突
  • Files changed 没有 package.json lock 等无关文件

Copy link

codecov bot commented May 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.84%. Comparing base (071f875) to head (0f79be8).

Additional details and impacted files
@@           Coverage Diff           @@
##             next    #2240   +/-   ##
=======================================
  Coverage   85.84%   85.84%           
=======================================
  Files         217      217           
  Lines       22830    22830           
  Branches     2480     2480           
=======================================
  Hits        19598    19598           
  Misses       3227     3227           
  Partials        5        5           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@eiinu eiinu changed the title fix(input): 调整 blur 触发时间 fix(input): 修复特殊场景下自动清除失效问题 May 10, 2024
@xiaoyatong xiaoyatong merged commit e673398 into jdf2e:next May 14, 2024
5 checks passed
@eiinu eiinu deleted the fix-input-clear branch May 14, 2024 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

小程序环境下 ,Input clearable 自动清除失效,同时onClear 也不触发
2 participants