Skip to content

Input Textarea 在 Form 内使用有bug, 无值,输入值后,点击外部使 Textarea 失焦,然后再点击删除,不会自动获焦 #34431

@SCWR

Description

@SCWR
  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

在表单里 Textarea 输入值后,点击外部使 Textarea 失焦,然后再点击删除

What is expected?

自动获取焦点

What is actually happening?

不会自动获焦

Environment Info
antd 4.19.1
React 16.14.0
System Mac 12
Browser Chrome 99

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 BugAnt Design Team had proved that this is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions