From 39151c612bec8a9fcfb122cf72318f074556feee Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 11 Jul 2023 10:06:09 +0800 Subject: [PATCH] fix: Upload progress bar fade motion (#43471) close #43229 --- components/upload/style/motion.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/upload/style/motion.ts b/components/upload/style/motion.ts index c798d1532295..86a5a0ad7145 100644 --- a/components/upload/style/motion.ts +++ b/components/upload/style/motion.ts @@ -1,6 +1,7 @@ import { Keyframes } from '@ant-design/cssinjs'; import type { UploadToken } from '.'; import type { GenerateStyle } from '../../theme/internal'; +import { initFadeMotion } from '../../style/motion'; const uploadAnimateInlineIn = new Keyframes('uploadAnimateInlineIn', { from: { @@ -44,6 +45,9 @@ const genMotionStyle: GenerateStyle = (token) => { }, }, }, + { + [`${componentCls}-wrapper`]: initFadeMotion(token), + }, uploadAnimateInlineIn, uploadAnimateInlineOut, ];