From 2f759151d2a6873d505e70f33d79680466dc31e1 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 29 Aug 2018 15:59:23 +0900 Subject: [PATCH] docs: keyboard listeners no longer work on webview (#14369) --- docs/api/breaking-changes.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/api/breaking-changes.md b/docs/api/breaking-changes.md index 7e3557fbb399..f0e54c3b73c1 100644 --- a/docs/api/breaking-changes.md +++ b/docs/api/breaking-changes.md @@ -212,6 +212,10 @@ webview.setAttribute('disableguestresize', '') // Removed webview.setAttribute('guestinstance', instanceId) // There is no replacement for this API + +// Keyboard listeners no longer work on webview tag +webview.onkeydown = () => { /* handler */ } +webview.onkeyup = () => { /* handler */ } ``` ## Node Headers URL