shadow root use the correct dom in iframe (#1037)
Co-authored-by: luocq3 <luocq3@asiainfo.com>
This commit is contained in:
@@ -320,7 +320,7 @@ export default class MutationBuffer {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (hasShadowRoot(n)) {
|
if (hasShadowRoot(n)) {
|
||||||
this.shadowDomManager.addShadowRoot(n.shadowRoot, document);
|
this.shadowDomManager.addShadowRoot(n.shadowRoot, this.doc);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onIframeLoad: (iframe, childSn) => {
|
onIframeLoad: (iframe, childSn) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user