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.

overlays: Trap Tab focus in the About Zulip overlay.

Pritesh Shettyea31fb9e77c0
diff --git a/web/src/overlays.ts b/web/src/overlays.ts
index a97c3df6687..4b0972ee03e 100644
--- a/web/src/overlays.ts
+++ b/web/src/overlays.ts
@@ -326,7 +326,7 @@ export function trap_focus_for_settings_overlay(): void {
});
const overlay_focus_trap_selector =
- "#draft_overlay, #reminders-overlay, #scheduled_messages_overlay, #message-history-overlay";
+ "#draft_overlay, #reminders-overlay, #scheduled_messages_overlay, #message-history-overlay, #about-zulip";
$("body").on("keydown", overlay_focus_trap_selector, function (this: HTMLElement, e) {
if (e.key !== "Tab") {
return;