Skip to content

Vertical layout shift when Form.Item help message is changed #33601

@mjfwebb

Description

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Set help to a non-empty string value and then set help to either an empty string or undefined.

In the case of an empty string, it is much more obvious, but even with undefined, there is still a slight shift.

What is expected?

No vertical shift

What is actually happening?

There is a vertical shift

Environment Info
antd 4.18.2
React React
System Windows 10
Browser Version 1.33.106 Chromium: 96.0.4664.110 (Official Build) (64-bit)

See the reproduction.

Metadata

Metadata

Assignees

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