From 17bc2a5ae4949aec75c9f7e36382f95fb9bdbe5a Mon Sep 17 00:00:00 2001 From: AlexanderBazukevich Date: Tue, 12 Apr 2022 15:46:17 +0500 Subject: [PATCH] fix: fixed snippet dropdown scrollbar blinking --- src/core/snippets/snippets.less | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/core/snippets/snippets.less b/src/core/snippets/snippets.less index b91e370f..9ab9f5e2 100644 --- a/src/core/snippets/snippets.less +++ b/src/core/snippets/snippets.less @@ -48,6 +48,11 @@ visibility: hidden; border: 1px solid @section-border; transition: max-height .3s ease-in-out, visibility 0s .25s, box-shadow .3s ease-in-out; + + .esl-scrollbar[at-start] { + visibility: hidden; + transition: visibility 0s; + } } } @@ -89,6 +94,11 @@ visibility: visible; box-shadow: 0 4px 6px 0 rgb(0 0 0 / 20%); transition: max-height .3s ease-in-out, visibility 0s; + + .esl-scrollbar[at-start] { + visibility: initial; + transition: visibility 0s .3s; + } } } }