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

希望transition切换时不需要有初始状态也能生效 #523

Closed
xmsz opened this issue Jul 23, 2021 · 0 comments · Fixed by #559
Closed

希望transition切换时不需要有初始状态也能生效 #523

xmsz opened this issue Jul 23, 2021 · 0 comments · Fixed by #559
Assignees
Labels
bug Something isn't working
Milestone

Comments

@xmsz
Copy link

xmsz commented Jul 23, 2021

使用场景 | Use case

背景

.a {
 transition: all .3s;
}

.chose {
 transform: translate3d(20rpx,0,0);
}
  • 当我切换状态的时候,只有追加chose的时候会有动画,当我移出chose动画时就没有
  • 我需要改成,设置初始状态
.a {
 transition: all .3s;
 transform: translate3d(0,0,0);
}
  • 浏览器上的话,这一步不是必须的
  • 虽然影响不大,不过还是先记录一下

提案 | Proposal

  • transition切换时不需要设置初始状态也能生效恢复动画
@xmsz xmsz added the enhancement New feature or request label Jul 23, 2021
@temper357 temper357 self-assigned this Jul 26, 2021
@temper357 temper357 added bug Something isn't working and removed enhancement New feature or request labels Jul 27, 2021
@temper357 temper357 added this to To Do in Browser Features via automation Jul 27, 2021
@temper357 temper357 added this to the 0.9 milestone Jul 27, 2021
Browser Features automation moved this from To Do to Done Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

Successfully merging a pull request may close this issue.

2 participants