mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +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