Revert "fix: do not bubble up resize event from webview"

This reverts commit 221ab080a1.

It was an accidental push.
This commit is contained in:
Cheng Zhao
2018-08-23 09:31:10 +09:00
parent 221ab080a1
commit fcb5069d24

View File

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