Skip to content

Conversation

Yuiai01
Copy link
Contributor

@Yuiai01 Yuiai01 commented Apr 11, 2023

close ant-design/ant-design#41677
在之前 antd 的 Calendar 中可用通过键盘访问到 disabledDate 并触发 select 事件,因此这里监听键盘事件,来判断要前往到日期是否为 disabledDate,如果是则不会触发键盘事件。

@vercel
Copy link

vercel bot commented Apr 11, 2023

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 Apr 11, 2023 11:47pm

@codecov
Copy link

codecov bot commented Apr 11, 2023

Codecov Report

Merging #616 (a2e13a2) into master (e87b629) will increase coverage by 0.00%.
The diff coverage is 100.00%.

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

@@           Coverage Diff           @@
##           master     #616   +/-   ##
=======================================
  Coverage   99.36%   99.37%           
=======================================
  Files          51       51           
  Lines        2352     2382   +30     
  Branches      694      710   +16     
=======================================
+ Hits         2337     2367   +30     
  Misses         13       13           
  Partials        2        2           
Impacted Files Coverage Δ
src/PickerPanel.tsx 100.00% <100.00%> (ø)

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

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.

[4.x]Able to navigate between disabled dates with keyboard.

2 participants