Skip to content

Commit

Permalink
fix: Upload progress bar fade motion (ant-design#43471)
Browse files Browse the repository at this point in the history
afc163 authored Jul 11, 2023
1 parent 8e2baf4 commit 39151c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/upload/style/motion.ts
Original file line number Diff line number Diff line change
@@ -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<UploadToken> = (token) => {
},
},
},
{
[`${componentCls}-wrapper`]: initFadeMotion(token),
},
uploadAnimateInlineIn,
uploadAnimateInlineOut,
];

0 comments on commit 39151c6

Please sign in to comment.