Commit 8f2008ac7420455b5ce1fbfcc0cc455328c548c1

Authored by jinmao88
Committed by GitHub
2 parents 2bf48e0f b3f6b049

Merge pull request #1799 from hsldymq/fix-fade-transition

fix(Transition): fade-transition淡出淡入无效
Showing 1 changed file with 12 additions and 0 deletions
src/design/transition/fade.less
  1 +.fade-transition {
  2 + &-enter-active,
  3 + &-leave-active {
  4 + transition: opacity 0.2s ease-in-out;
  5 + }
  6 +
  7 + &-enter-from,
  8 + &-leave-to {
  9 + opacity: 0;
  10 + }
  11 +}
  12 +
1 .fade-enter-active, 13 .fade-enter-active,
2 .fade-leave-active { 14 .fade-leave-active {
3 transition: opacity 0.2s ease-in-out; 15 transition: opacity 0.2s ease-in-out;