ant-design / ant-design

An enterprise-class UI design language and React UI library
https://ant.design
MIT License
93.72k stars 51.17k forks source link

ProForm clicking "tab" key cannot focus next field (need to click twice) #52621

Open patrickxunuo opened 2 weeks ago

patrickxunuo commented 2 weeks ago

Reproduction link

Edit on CodeSandbox

Steps to reproduce

use latest version of antd

What is expected?

click "tab" key once to focus next field

What is actually happening?

need to click "tab" key twice to focus next field

Environment Info
antd 5.23.3
React 18.2.0
System win10
Browser Chrome Version 131.0.6778.265

probably caused by a feature improvement from this PR: https://github.com/ant-design/ant-design/pull/52180 From 5.23.0 release note: ⌨️ Adjust Input, InputNumber, Mentions, Textarea clear icon from span to button to improve a11y. #52180 @li-jia-nan

0re5ama commented 1 week ago

Facing the same issue with update to 5.23.3. Any update on this?

MadCcc commented 4 days ago

Cannot reproduce, any more details?

patrickxunuo commented 4 days ago

@MadCcc You can reproduce the issue in the codesandbox link.