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(comp:textarea): @focus and @blur will be triggered twice #1002

Merged
merged 1 commit into from
Jul 8, 2022

Conversation

liuzaijiang
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?

<ix-textarea
       @blur="onBlur"
       @focus="onFocus"
 />

手动触发blur和focus,回调函数会执行两次

What is the new behavior?

Other information

@idux-bot
Copy link

idux-bot bot commented Jul 7, 2022

This preview will be available after the AzureCI is passed.

@codecov
Copy link

codecov bot commented Jul 7, 2022

Codecov Report

Merging #1002 (e9f1129) into main (3e6b08c) will decrease coverage by 0.03%.
The diff coverage is n/a.

❗ Current head e9f1129 differs from pull request most recent head ff46875. Consider uploading reports for the commit ff46875 to get more accurate results

@@            Coverage Diff             @@
##             main    #1002      +/-   ##
==========================================
- Coverage   94.22%   94.18%   -0.04%     
==========================================
  Files         308      308              
  Lines       29074    29070       -4     
  Branches     3486     3483       -3     
==========================================
- Hits        27394    27381      -13     
- Misses       1680     1689       +9     
Impacted Files Coverage Δ
packages/components/textarea/src/Textarea.tsx 100.00% <ø> (ø)
packages/components/input/src/useInput.ts 91.85% <0.00%> (-6.67%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3e6b08c...ff46875. Read the comment docs.

@danranVm danranVm merged commit f65ed17 into IDuxFE:main Jul 8, 2022
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.

2 participants