Skip to content

Commit

Permalink
fix: Upload progress bar fade motion
Browse files Browse the repository at this point in the history
close #43229
  • Loading branch information
afc163 committed Jul 10, 2023
1 parent 9aea92c commit 1f449a0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 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: {
Expand Down Expand Up @@ -44,6 +45,9 @@ const genMotionStyle: GenerateStyle<UploadToken> = (token) => {
},
},
},
{
[`${componentCls}-wrapper`]: initFadeMotion(token),
},
uploadAnimateInlineIn,
uploadAnimateInlineOut,
];
Expand Down

0 comments on commit 1f449a0

Please sign in to comment.