Skip to content

Conversation

@sradevski
Copy link
Contributor

@sradevski sradevski commented Dec 27, 2020

This allows the caller to also handle the keys that returned early (eg. Escape) and stopPropagation on them, for example.

@codecov
Copy link

codecov bot commented Dec 27, 2020

Codecov Report

Merging #122 (0572374) into master (d6ca6f8) will increase coverage by 0.10%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #122      +/-   ##
==========================================
+ Coverage   92.83%   92.93%   +0.10%     
==========================================
  Files           4        4              
  Lines         265      269       +4     
  Branches       91       93       +2     
==========================================
+ Hits          246      250       +4     
  Misses         19       19              
Impacted Files Coverage Δ
src/Cascader.tsx 94.41% <100.00%> (+0.12%) ⬆️

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 d6ca6f8...0572374. Read the comment docs.

@afc163
Copy link
Member

afc163 commented Dec 28, 2020

Could you add test case?

@sradevski
Copy link
Contributor Author

Sure, I'll have a look at it later today

@sradevski
Copy link
Contributor Author

@afc163 Added a test, let me know if it looks good to you

@afc163 afc163 merged commit c93d470 into react-component:master Dec 29, 2020
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