fix: do not bubble up resize event from webview (#14271)
This commit is contained in:
parent
cd8bb1d3b4
commit
6736d4ef29
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue