mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
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:
committed by
Tim Abbott
parent
719e92ffb8
commit
4fde4e7c0d
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user