Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
overlay: Blur focused element while overlay is open.
Kislay Vermaa83dc572dfe4
diff --git a/web/src/overlays.ts b/web/src/overlays.tsindex 4c50f7b8c35..6a3cc00622a 100644--- a/web/src/overlays.ts+++ b/web/src/overlays.ts@@ -111,7 +111,9 @@ export function open_overlay(opts: OverlayOptions): void {reset_state();},};-+ if (document.activeElement) {+ $(document.activeElement).trigger("blur");+ }overlay_util.disable_scrolling();opts.$overlay.addClass("show");opts.$overlay.attr("aria-hidden", "false");