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

Badge animation bug while setting 0 to 1 and 1 to 0 #11870

lhz516 opened this Issue Aug 24, 2018 · 1 comment


None yet
3 participants

lhz516 commented Aug 24, 2018

  • I have searched the issues of this repository and believe that this is not a duplicate.




Latest Chrome and Firefox on Win 10

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Click minus button to set number from 1 to 0; click plus button to set number from 0 to 1

What is expected?

Badge animations happen always at the same position

What is actually happening?

Badge animations were at wrong places. After the animation, the badge jumps to correct position.

Additional comments:

This example is actually from antd documentation. However, it works on the documentation.


This comment has been minimized.


afc163 commented Aug 24, 2018

Fixed in 22162fe

@afc163 afc163 closed this Aug 24, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment