-
-
Notifications
You must be signed in to change notification settings - Fork 50k
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
When removing form input help text, it's causing elements underneath to twitch/flicker #8831
Comments
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. |
The CSS animation is too complicated, could you help @afc163 |
中文描述下。。。。 |
你看上面的 codepen 链接,helper 消息消失的时候下面的输入框会抖一下。 |
我看了下是因为 22ef7d1 里引入的动画导致的。 |
感觉是时间没同步。。。 |
我看下。。。 |
22ef7d1#diff-51de536edf29809d26f0ccfab96f81fcR72 CSS 不是同一个时间轴的问题。。。 |
Version
3.1.0
Environment
Chrome, Safari
Reproduction link
https://codesandbox.io/s/40k3zv92q7
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.
The text was updated successfully, but these errors were encountered: