Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Upload progress bar fade motion #43471

Merged
merged 1 commit into from Jul 11, 2023
Merged

Conversation

afc163
Copy link
Member

@afc163 afc163 commented Jul 10, 2023

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Internationalization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Workflow
  • Other (about what?)

🔗 Related issue link

close #43229

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English Fix Upload progress bar missing fade motion.
🇨🇳 Chinese 修复 Upload 上传进度条延迟消失且丢失动画效果的问题。

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

🚀 Summary

🤖 Generated by Copilot at 1f449a0

Add fade-in and fade-out animation to Upload component using motion.ts functions. Enhance the component's appearance and usability.

🔍 Walkthrough

🤖 Generated by Copilot at 1f449a0

  • Add fade-in and fade-out animation to upload component (link, link)
    • Import initFadeMotion function from motion.ts to create animation (link)
    • Apply initFadeMotion to wrapper element of upload component in genMotionStyle function, using token as animation key (link)

@stackblitz
Copy link

stackblitz bot commented Jul 10, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 10, 2023

@afc163 afc163 force-pushed the fix/upload-progress-motion branch from 1f449a0 to 78e941c Compare July 10, 2023 13:33
@github-actions
Copy link
Contributor

size-limit report 📦

Path Size
./dist/antd.min.js 381.04 KB (+21 B 🔺)
./dist/antd-with-locales.min.js 440.62 KB (+25 B 🔺)

@afc163 afc163 merged commit 39151c6 into master Jul 11, 2023
86 checks passed
@afc163 afc163 deleted the fix/upload-progress-motion branch July 11, 2023 02:06
@afc163 afc163 mentioned this pull request Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upload 进度条消失晚一会
2 participants