popovers: Prevent the popover from closing on scroll.

This commit prevent popover closure when scrolling reaches the top or
 bottom.

 Fixes: #25967.
This commit is contained in:
Daniil Fadeev
2023-06-12 23:03:56 +03:00
committed by Tim Abbott
parent 719e92ffb8
commit 4fde4e7c0d

View File

@@ -3065,6 +3065,9 @@ select.invite-as {
/* `simplebar-content-wrapper` has `tabindex=0` set, which makes it focusable /* `simplebar-content-wrapper` has `tabindex=0` set, which makes it focusable
but we don't want it to have an outline when focused anywhere in the app. */ but we don't want it to have an outline when focused anywhere in the app. */
outline: none; outline: none;
/* This prevents the popover from closing once the top/bottom is reached */
overscroll-behavior: contain;
} }
.dropdown-list-container { .dropdown-list-container {