Commit 178626ed authored by Jacob Schatz's avatar Jacob Schatz

Merge branch '27602-fix-avatar-border-flicker-mention-dropdown' into 'master'

Resolves user avatar flickers as you type

Closes #27602

See merge request !8950
parents 0b97dd7e 22b77948
...@@ -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;
} }
} }
} }
---
title: Fixes flickering of avatar border in mention dropdown
merge_request: 8950
author:
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