Commit 5a3fe3ec624ff970d0788ec8bec7c3c5849d3073
1 parent
91d9c16a
update Button focus transition
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/styles/mixins/button.less
@@ -153,7 +153,7 @@ | @@ -153,7 +153,7 @@ | ||
153 | 153 | ||
154 | &:not([disabled]):active { | 154 | &:not([disabled]):active { |
155 | outline: 0; | 155 | outline: 0; |
156 | - transition: none; | 156 | + // transition: none; // 如果不注释此行,那么active会和focus同时触发,此时focus的开始动画transition会无效 |
157 | } | 157 | } |
158 | 158 | ||
159 | &.disabled, | 159 | &.disabled, |