Reproduction link
https://ant.design/~demos/components-date-picker-demo-basic
Steps to reproduce
Click on any of the DatePicker input field and press tab. It will focus on other DatePicker inputs and close the picker panel.
What is expected?
In AntD v4 ( https://codesandbox.io/p/sandbox/basic-antd-4-24-16-jzxz87 ), when the DatePicker input field is clicked and tab is pressed, the picker panel will be focused and you can use the arrow keys to select new dates.
What is actually happening?
Other DatePicker input fields are being focused and the picker panel is closed when the tab key is pressed.
| Environment | Info |
| ------------ | ------------ |
| antd | 5.16.1 |
| React | 18 |
| System | MacOS |
| Browser | Chrome |
1条答案
按热度按时间raogr8fs1#
Yes. The panel accessible is removed since it's not well work with accessibility.