Browse Source

docs: keyboard listeners no longer work on webview (#14369)

Cheng Zhao 6 years ago
parent
commit
2f759151d2
1 changed files with 4 additions and 0 deletions
  1. 4 0
      docs/api/breaking-changes.md

+ 4 - 0
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