1. Do not use virtual parent optimization if the mutation targets have iframe elements as children. This will cause some performance regression but will be easy to add and ship.
2. If an iframe element has already been a child of a virtual parent, add the virtual parent back to the dom.
This commit is contained in:
Lucky Feng
2021-05-02 21:56:43 +08:00
committed by GitHub
parent 2b96a68e88
commit 7e46341c18
2 changed files with 54 additions and 19 deletions

View File

@@ -55,6 +55,7 @@ export declare class Replayer {
private hoverElements;
private isUserInteraction;
private backToNormal;
private restoreRealParent;
private storeState;
private restoreState;
private warnNodeNotFound;