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, ];