|
@@ -27,7 +27,7 @@ class WebViewImpl {
|
|
|
// on* Event handlers.
|
|
|
this.on = {}
|
|
|
this.browserPluginNode = this.createBrowserPluginNode()
|
|
|
- const shadowRoot = this.webviewNode.createShadowRoot()
|
|
|
+ const shadowRoot = this.webviewNode.attachShadow({mode: 'open'})
|
|
|
shadowRoot.innerHTML = '<!DOCTYPE html><style type="text/css">:host { display: flex; }</style>'
|
|
|
this.setupWebViewAttributes()
|
|
|
this.setupFocusPropagation()
|