Skip to content

fix: 🐛 修复Transition被打断时出现显示异常的问题#368

Merged
Moonofweisheng merged 1 commit intomasterfrom
fix-transition-interrupt
Jun 13, 2024
Merged

fix: 🐛 修复Transition被打断时出现显示异常的问题#368
Moonofweisheng merged 1 commit intomasterfrom
fix-transition-interrupt

Conversation

@Moonofweisheng
Copy link
Copy Markdown
Owner

🤔 这个 PR 的性质是?(至少选择一个)

  • 日常 bug 修复
  • 新特性提交
  • 站点、文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • TypeScript 定义更新
  • CI/CD 改进
  • 包体积优化
  • 性能优化
  • 功能增强
  • 国际化改进
  • 代码重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他改动(是关于什么的改动?)

🔗 相关 Issue

💡 需求背景和解决方案

使用到Transition的组件,再多次连续调用时存在打断动画情况,原transition的实现打断动画后未清除对应的定时器,这些定时器内的逻辑仍会执行,调整后将会在下一次动画打开时,清掉上一个动画的所有定时器、promise。

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
wot-design-uni ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 13, 2024 2:04pm

@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 13, 2024

Deploy Preview for wot-design-uni ready!

Name Link
🔨 Latest commit 9d2a577
🔍 Latest deploy log https://app.netlify.com/sites/wot-design-uni/deploys/666afc6797987c00082fcf12
😎 Deploy Preview https://deploy-preview-368--wot-design-uni.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Moonofweisheng Moonofweisheng merged commit 9c21b95 into master Jun 13, 2024
@Moonofweisheng Moonofweisheng deleted the fix-transition-interrupt branch June 13, 2024 14:06
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.

1 participant