Browse Source

fix: Upload progress bar fade motion (#43471)

close #43229
pull/43481/head
afc163 1 year ago
committed by GitHub
parent
commit
39151c612b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      components/upload/style/motion.ts

4
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<UploadToken> = (token) => {
},
},
},
{
[`${componentCls}-wrapper`]: initFadeMotion(token),
},
uploadAnimateInlineIn,
uploadAnimateInlineOut,
];

Loading…
Cancel
Save