From 86ddb399d5fcd1ebfd34f88c197294598aa9ea2f Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Fri, 17 May 2024 15:45:38 +0200 Subject: [PATCH] UI: Hide scrollbar during slide animations (#4582) --- src/components/left/search/LeftSearch.scss | 2 -- src/components/middle/MessageList.scss | 2 +- src/components/ui/Transition.scss | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/left/search/LeftSearch.scss b/src/components/left/search/LeftSearch.scss index 4681a1e15..841fbc67c 100644 --- a/src/components/left/search/LeftSearch.scss +++ b/src/components/left/search/LeftSearch.scss @@ -245,8 +245,6 @@ overflow-x: auto; overflow-y: hidden; - scrollbar-color: rgba(0, 0, 0, 0); - > .PickerSelectedItem { flex: 0 0 auto; diff --git a/src/components/middle/MessageList.scss b/src/components/middle/MessageList.scss index 4abdc02df..a4d1dea0a 100644 --- a/src/components/middle/MessageList.scss +++ b/src/components/middle/MessageList.scss @@ -424,7 +424,7 @@ .Transition_slide-from > &, .Transition_slide-to > & { - scrollbar-color: transparent !important; + scrollbar-color: transparent transparent !important; &::-webkit-scrollbar-thumb { background-color: transparent !important; diff --git a/src/components/ui/Transition.scss b/src/components/ui/Transition.scss index 39e2d0054..808ad0265 100644 --- a/src/components/ui/Transition.scss +++ b/src/components/ui/Transition.scss @@ -363,7 +363,7 @@ animation: push-out 0.25s ease-in-out; .custom-scroll { - scrollbar-color: transparent !important; + scrollbar-color: transparent transparent !important; &::-webkit-scrollbar-thumb { background-color: transparent !important;