-
-
Notifications
You must be signed in to change notification settings - Fork 50.6k
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
Button width changed when switching loading state #4913
Comments
Yep, for IE9/10 doesn't support transition. |
It will be better to write your issue/comment in English, so more people can understand you. And this means that more people can help you or benefit from your issue/comment. |
|
my case comes under Chrome not IE~ |
Please provide a re-producible demo: http://codepen.io/benjycui/pen/KgPZrE?editors=001 And steps to re-produce it, a GIF will be better. |
Yep, the animation is weirdo when we use both of |
@CallMeXYZ Thx for the codepen, that was helpful! |
how can we fix this in the current version? |
Override style in your css file like 8dc73f4 does. Or just wait for next patch. |
just write some dead override css like below, would it be no side effect? .ant-btn.ant-btn-loading:not(.ant-btn-circle):not(.ant-btn-circle-outline) .anticon{
transition: inherit;
}
.anticon{
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)
} |
.ant-btn .anticon {
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
} |
2333 u should not use |
I see... you are right |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
~
The text was updated successfully, but these errors were encountered: