Skip to content

Commit 221ab08

Browse files
committed
fix: do not bubble up resize event from webview
1 parent addf069 commit 221ab08

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/renderer/web-view/web-view.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,7 @@ class WebViewImpl {
145145

146146
onElementResize (newSize) {
147147
// Dispatch the 'resize' event.
148-
const resizeEvent = new Event('resize', {
149-
bubbles: true
150-
})
148+
const resizeEvent = new Event('resize')
151149

152150
// Using client size values, because when a webview is transformed `newSize`
153151
// is incorrect

0 commit comments

Comments
 (0)