Skip to content

Commit

Permalink
fix: fixed snippet dropdown scrollbar blinking
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderBazukevich committed Apr 12, 2022
1 parent c332f3a commit 17bc2a5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/core/snippets/snippets.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}

Expand Down Expand Up @@ -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;
}
}
}
}
Expand Down

0 comments on commit 17bc2a5

Please sign in to comment.