mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
Fix badge initial position jump bug again, close #3709
This commit is contained in:
parent
5fb01c8300
commit
d44271ce45
@ -89,7 +89,7 @@ export default class Badge extends React.Component<BadgeProps, any> {
|
||||
<Animate
|
||||
component=""
|
||||
showProp="data-show"
|
||||
transitionName={`${prefixCls}-zoom`}
|
||||
transitionName={children ? `${prefixCls}-zoom` : ''}
|
||||
transitionAppear
|
||||
>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user