Layout shifts to bottom when error message is added #6658
Unanswered
mehrdad-shokri
asked this question in
Q&A
Replies: 1 comment 3 replies
-
If you want error message to not take space, give it absolute position with Styles API. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dependencies check up
What version of @mantine/* packages do you have in package.json?
^7.12.0
What package has an issue?
@mantine/core
What framework do you use?
Next.js
In which browsers you can reproduce the issue?
Chrome
Describe the bug
When Adding error to text field, the elements underneath gets shifted to bottom.
Bitzen AI.webm
If possible, include a link to a codesandbox with a minimal reproduction
No response
Possible fix
I think one candidate is passing a prop to reserve the height of the error field, so it doesn't get shifted when it's added to the element
Self-service
Beta Was this translation helpful? Give feedback.
All reactions