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(pro:search): add focus and blur support #1151

Merged
merged 1 commit into from
Sep 23, 2022

Conversation

sallerli1
Copy link
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows our guidelines
  • Tests for the changes have been added/updated or not needed
  • Docs and demo have been added/updated or not needed

What is the current behavior?

proSearch 不支持 tab键 focus,不支持 onFocus、onBlur等

What is the new behavior?

新增 onFocus、onBlur 事件,新增 focus、blur 方法

Other information

重构focus事件处理机制,放弃原有基于点击触发逻辑

@idux-bot
Copy link

idux-bot bot commented Sep 20, 2022

This preview will be available after the AzureCI is passed.

@codecov
Copy link

codecov bot commented Sep 20, 2022

Codecov Report

Merging #1151 (24253fa) into main (16c9df3) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1151      +/-   ##
==========================================
- Coverage   96.95%   96.95%   -0.01%     
==========================================
  Files         321      321              
  Lines       30878    30834      -44     
  Branches     2066     2066              
==========================================
- Hits        29938    29894      -44     
  Misses        940      940              
Impacted Files Coverage Δ
packages/pro/search/src/ProSearch.tsx 100.00% <100.00%> (ø)
packages/pro/search/src/types.ts 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@sallerli1 sallerli1 force-pushed the feat-pro-search-focus-blur-saller branch from df1aeb9 to 0511e86 Compare September 20, 2022 12:06
@sallerli1 sallerli1 force-pushed the feat-pro-search-focus-blur-saller branch from 0511e86 to 24253fa Compare September 22, 2022 11:36
@danranVm danranVm merged commit da8d6db into IDuxFE:main Sep 23, 2022
@sallerli1 sallerli1 deleted the feat-pro-search-focus-blur-saller branch February 20, 2023 06:12
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