Skip to content

有前缀图标Input的hidden为true时,输入框不能正常消失 #33692

@veryfine

Description

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

将Input设置prefix和hidden={true}

What is expected?

输入框正常消失

What is actually happening?

输入框未消失(未隐藏)

Environment Info
antd 4.18.3
React 16.8.6
System window 10 中文版
Browser chrome 96.0.4664.45 中文

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedThe suggestion or request has been accepted, we need you to help us by sending a pull request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions