Skip to content

Commit 2ecb970

Browse files
committed
Revert "webview: fix focus after soft reload."
This reverts commit 6b98a49 (#698). The bug it worked around was fixed upstream in Electron 9. Signed-off-by: Anders Kaseorg <[email protected]>
1 parent edb2933 commit 2ecb970

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

app/renderer/js/components/webview.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,6 @@ export default class WebView {
155155
this.loading = false;
156156
this.props.switchLoading(false, this.props.url);
157157
this.show();
158-
159-
// Refocus text boxes after reload
160-
// Remove when upstream issue https://github.com/electron/electron/issues/14474 is fixed
161-
this.$el!.blur();
162-
this.$el!.focus();
163158
});
164159

165160
this.$el!.addEventListener("did-fail-load", (event) => {

0 commit comments

Comments
 (0)