-
-
Notifications
You must be signed in to change notification settings - Fork 49.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DatePicker doesn't support tabIndex #48059
Comments
Hello @wang-yikai. Please provide a online reproduction by forking codesandbox of [email protected] or [email protected], or provide a minimal GitHub repository. Issues labeled by 你好 @wang-yikai,我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击这里创建一个 [email protected] 或 [email protected] 的 codesandbox,或者提供一个最小化的 GitHub 仓库。3 天内未跟进此 issue 将会被自动关闭。 |
@afc163 I made the sandbox public, my apologies! |
I've created react-component/picker#779 to fix this issue. |
@zombieJ Any progress with merging react-component/picker#779? |
@afc163 Does the PR above resolve the issue? |
Reproduction link
Steps to reproduce
Pass tabIndex={-1} and see that DatePicker can still be focused.
What is expected?
DatePicker should get focused in the right order and DatePicker with -1 tabIndex shouldn't get focused.
What is actually happening?
Press tab on the keyboard and see that DatePicker gets focused in the wrong order and DatePicker with -1 tabIndex still gets focused.
This was resolved in #23918 but not for AntD v5.
The text was updated successfully, but these errors were encountered: