picker icon indicating copy to clipboard operation
picker copied to clipboard

fix: Picker should open when click inside

Open wangmeijian opened this issue 2 years ago • 3 comments

fix https://github.com/ant-design/ant-design/issues/37165

wangmeijian avatar Oct 11 '22 06:10 wangmeijian

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
picker ✅ Ready (Inspect) Visit Preview Oct 25, 2022 at 2:43AM (UTC)

vercel[bot] avatar Oct 11 '22 06:10 vercel[bot]

以前为了解决https://github.com/ant-design/ant-design/issues/21149 ,在onMouseUp事件上做了处理,但触发了新问题https://github.com/ant-design/ant-design/issues/37165 ,改成在onClick回调里处理即可

wangmeijian avatar Oct 11 '22 07:10 wangmeijian

@afc163 没人维护么

wangmeijian avatar Oct 13 '22 05:10 wangmeijian

补一个 issue 相关的用例吧

MadCcc avatar Oct 24 '22 06:10 MadCcc

补一个 issue 相关的用例吧

已补充

wangmeijian avatar Oct 25 '22 01:10 wangmeijian

Codecov Report

Merging #490 (a165689) into master (7492e10) will decrease coverage by 0.00%. The diff coverage is 100.00%.

:exclamation: Current head a165689 differs from pull request most recent head b2a9733. Consider uploading reports for the commit b2a9733 to get more accurate results

@@            Coverage Diff             @@
##           master     #490      +/-   ##
==========================================
- Coverage   99.53%   99.53%   -0.01%     
==========================================
  Files          46       46              
  Lines        2149     2148       -1     
  Branches      634      633       -1     
==========================================
- Hits         2139     2138       -1     
  Misses          8        8              
  Partials        2        2              
Impacted Files Coverage Δ
src/Picker.tsx 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

codecov[bot] avatar Oct 25 '22 02:10 codecov[bot]