From 8a0a0d2da9e104a6d188783f1615c02a6a37b422 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 28 Aug 2024 14:55:16 +0800 Subject: [PATCH] style: enhance Badge motion when switch mode (#50607) --- components/badge/style/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/components/badge/style/index.ts b/components/badge/style/index.ts index bfa4f1870e..cb97d8af30 100644 --- a/components/badge/style/index.ts +++ b/components/badge/style/index.ts @@ -344,6 +344,7 @@ const genSharedBadgeStyle: GenerateStyle = (token) => { }, [numberPrefixCls]: { overflow: 'hidden', + transition: `all ${token.motionDurationMid} ${token.motionEaseOutBack}`, [`${numberPrefixCls}-only`]: { position: 'relative', display: 'inline-block',