Focus the webview for notification settings, keyboard shortcuts.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2025-08-05 00:52:46 -07:00
parent b5665abb3e
commit 45672432db

View File

@@ -142,6 +142,7 @@ export default class WebView {
showNotificationSettings(): void { showNotificationSettings(): void {
this.send("show-notification-settings"); this.send("show-notification-settings");
this.focus();
} }
focus(): void { focus(): void {
@@ -176,6 +177,7 @@ export default class WebView {
showKeyboardShortcuts(): void { showKeyboardShortcuts(): void {
this.send("show-keyboard-shortcuts"); this.send("show-keyboard-shortcuts");
this.focus();
} }
openDevTools(): void { openDevTools(): void {