Layout shift on complex forms with validation states #29720
Unanswered
kevinfairclough
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
How are people dealing with layout shift with validation messages for Field components?
Currently Fields after a Field that has a validationMessage will shift down when the Field is in error state and then shift back up when the error state clears.
This is particularly worse in Dialogs when the Dialog will grow and shrink.
https://codesandbox.io/s/stupefied-violet-dj589x?file=/src/example.tsx
TIA
Kevin
Beta Was this translation helpful? Give feedback.
All reactions