mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-14 19:05:56 +00:00
focus: Fix focus after clicking back button.
Addresses the issue of the webview not being in focus after the Back button is clicked. Now, the webview is focused explicitly by calling focus() on click.
This commit is contained in:
@@ -225,6 +225,7 @@ class WebView extends BaseComponent {
|
||||
back() {
|
||||
if (this.$el.canGoBack()) {
|
||||
this.$el.goBack();
|
||||
this.focus();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user