fixes flickers in avatar mention dropdown
This commit is contained in:
parent
fd46fb1cd9
commit
80bd571736
2 changed files with 22 additions and 0 deletions
|
@ -71,6 +71,27 @@
|
|||
transition: $unfoldedTransitions;
|
||||
}
|
||||
|
||||
@mixin disableAllAnimation {
|
||||
/*CSS transitions*/
|
||||
-o-transition-property: none !important;
|
||||
-moz-transition-property: none !important;
|
||||
-ms-transition-property: none !important;
|
||||
-webkit-transition-property: none !important;
|
||||
transition-property: none !important;
|
||||
/*CSS transforms*/
|
||||
-o-transform: none !important;
|
||||
-moz-transform: none !important;
|
||||
-ms-transform: none !important;
|
||||
-webkit-transform: none !important;
|
||||
transform: none !important;
|
||||
/*CSS animations*/
|
||||
-webkit-animation: none !important;
|
||||
-moz-animation: none !important;
|
||||
-o-animation: none !important;
|
||||
-ms-animation: none !important;
|
||||
animation: none !important;
|
||||
}
|
||||
|
||||
@function unfoldTransition ($transition) {
|
||||
// Default values
|
||||
$property: all;
|
||||
|
|
|
@ -159,6 +159,7 @@
|
|||
.cur {
|
||||
.avatar {
|
||||
border: 1px solid $white-light;
|
||||
@include disableAllAnimation;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue