fix: do not bubble up resize event from webview

This commit is contained in:
Cheng Zhao
2018-08-23 09:29:08 +09:00
parent addf069f26
commit 221ab080a1

View File

@@ -145,9 +145,7 @@ class WebViewImpl {
onElementResize (newSize) {
// Dispatch the 'resize' event.
const resizeEvent = new Event('resize', {
bubbles: true
})
const resizeEvent = new Event('resize')
// Using client size values, because when a webview is transformed `newSize`
// is incorrect