Skip to content

Commit

Permalink
webview: fix user input
Browse files Browse the repository at this point in the history
Fixes #7232

This commit reverts the breaking change of #7216 which
meant that users would not be able to provide keyboard input any
longer in a webview.

Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
  • Loading branch information
vince-fugnitto committed Feb 27, 2020
1 parent 03c0ad2 commit 727d3b3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/plugin-ext/src/main/browser/webview/pre/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@
* @param {KeyboardEvent} e
*/
const handleInnerKeydown = (e) => {
e.preventDefault();
host.postMessage('did-keydown', {
key: e.key,
keyCode: e.keyCode,
Expand Down

0 comments on commit 727d3b3

Please sign in to comment.