diff --git a/lib/renderer/web-view/web-view.js b/lib/renderer/web-view/web-view.js index af44060d7ba5..574a2b545597 100644 --- a/lib/renderer/web-view/web-view.js +++ b/lib/renderer/web-view/web-view.js @@ -131,7 +131,7 @@ class WebViewImpl { } onElementResize () { - const resizeEvent = new Event('resize', { bubbles: true }) + const resizeEvent = new Event('resize') resizeEvent.newWidth = this.webviewNode.clientWidth resizeEvent.newHeight = this.webviewNode.clientHeight this.dispatchEvent(resizeEvent)