Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

popovers: Prevent the popover from closing on scroll.

Daniil Fadeev4fde4e7c0d94
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 6296b23b209..195e2f23e7e 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -3065,6 +3065,9 @@ select.invite-as {
/* `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. */
outline: none;
+
+ /* This prevents the popover from closing once the top/bottom is reached */
+ overscroll-behavior: contain;
}
.dropdown-list-container {