Shared: Scrollbar: Fix scroll styles

This commit is contained in:
Aleksandr Lushkin 2024-05-20 16:03:59 +02:00
parent dfe9e91b98
commit ac7d53a673

View File

@ -182,7 +182,9 @@ const StyledScrollbar = styled(Scrollbar)<{ $fixedSize?: boolean }>`
// tracks shown if scroll element was not auto hidden, hovered
// and there is no another nesting hovered scroll element or backdrop
&.auto-hide.scroll-visible:hover:not(:has(&:hover, .backdrop-active)) {
&.auto-hide.scroll-visible:hover:not(
:has(&:hover.trackYVisible, &:hover.trackXVisible, .backdrop-active)
) {
.track {
opacity: 1;
}