mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-10-28 18:43:50 +00:00
Explicit focus webview on macOS alone.
This commit is contained in:
@@ -104,7 +104,7 @@ class WebView extends BaseComponent {
|
||||
// The bug is introduced from Electron and this is a tempory fix.
|
||||
// See https://github.com/zulip/zulip-electron/issues/216
|
||||
const osName = SystemUtil.getOS();
|
||||
if (osName === 'Mac' || osName === 'Linux') {
|
||||
if (osName === 'Mac') {
|
||||
this.$el.focus();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user