picker icon indicating copy to clipboard operation
picker copied to clipboard

fix: interacting with footer components closes the date selection panel

Open Yuiai01 opened this issue 3 years ago • 3 comments

close https://github.com/ant-design/ant-design/issues/33125

目前还有一些问题: 1、input 需要设置 stopPropagation 才能聚焦,是否要在 footer 处集成; 2、select 等需要点击临时元素的,需要设置 getPopupContainer={(e) => e.parentElement}。

Yuiai01 avatar Oct 07 '23 14:10 Yuiai01

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

Name Status Preview Comments Updated (UTC)
picker ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 7, 2023 2:55pm

vercel[bot] avatar Oct 07 '23 14:10 vercel[bot]

Codecov Report

Merging #683 (4915ccf) into master (f6c6803) will increase coverage by 0.00%. The diff coverage is 100.00%.

:exclamation: Current head 4915ccf differs from pull request most recent head 9b843e9. Consider uploading reports for the commit 9b843e9 to get more accurate results

@@           Coverage Diff           @@
##           master     #683   +/-   ##
=======================================
  Coverage   98.94%   98.94%           
=======================================
  Files          56       56           
  Lines        2457     2460    +3     
  Branches      734      735    +1     
=======================================
+ Hits         2431     2434    +3     
  Misses         24       24           
  Partials        2        2           
Files Coverage Δ
src/Picker.tsx 100.00% <ø> (ø)
src/RangePicker.tsx 99.29% <ø> (ø)
src/hooks/usePickerInput.ts 98.76% <100.00%> (+0.04%) :arrow_up:

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

codecov[bot] avatar Oct 07 '23 14:10 codecov[bot]

目前还有一些问题: 1、input 需要设置 stopPropagation 才能聚焦,是否要在 footer 处集成; 2、select 等需要点击临时元素的,需要设置 getPopupContainer={(e) => e.parentElement}。

Yuiai01 avatar Oct 07 '23 14:10 Yuiai01