Commit 80bd5717 authored by Nur Rony's avatar Nur Rony

fixes flickers in avatar mention dropdown

parent fd46fb1c
...@@ -71,6 +71,27 @@ ...@@ -71,6 +71,27 @@
transition: $unfoldedTransitions; 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) { @function unfoldTransition ($transition) {
// Default values // Default values
$property: all; $property: all;
......
...@@ -159,6 +159,7 @@ ...@@ -159,6 +159,7 @@
.cur { .cur {
.avatar { .avatar {
border: 1px solid $white-light; border: 1px solid $white-light;
@include disableAllAnimation;
} }
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment