Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
When removing form input help text, it's causing elements underneath to twitch/flicker #8831
Steps to reproduce
What is expected?
The form item should be the same height regardless of help text.
What is actually happening?
When the help text is removed, the form item's height is not held causing all elements below to shift up for a quick seconds cause a perceived twitch/flicker.
I'm not sure why it doesn't do it on the demo page. Maybe it's a different version or custom style is applied. Check out the sandbox link (https://codesandbox.io/s/40k3zv92q7), the twitching is apparent. I think it has something to do with how the animation transition is collapsing the text.