Skip to content
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

Form jumps when got validation error in compact mode #25989

Closed
1 task done
Ragnaxander opened this issue Aug 3, 2020 · 0 comments · Fixed by #26069
Closed
1 task done

Form jumps when got validation error in compact mode #25989

Ragnaxander opened this issue Aug 3, 2020 · 0 comments · Fixed by #26069

Comments

@Ragnaxander
Copy link

Ragnaxander commented Aug 3, 2020

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

make form with 2 form items, then first form item should be with validation error. Reproduce only with compact mode.

What is expected?

form will not jumps when toggle validation error on items

What is actually happening?

second form item will jumps when toggle first item validation

Environment Info
antd 4.5.2
React react latest
System windows 10
Browser chrome latest

its not produce with default antd theme;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants