fix: elements would lose some states like scroll position because of "virtual parent" optimization (#427)
* fix: elements would lose some state like scroll position because of "virtual parent" optimization * refactor: the bugfix code bug: elements would lose some state like scroll position because of "virtual parent" optimization * fix: an error occured at applyMutation(remove nodes part) error message: Uncaught (in promise) DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node
This commit is contained in:
3
typings/types.d.ts
vendored
3
typings/types.d.ts
vendored
@@ -354,4 +354,7 @@ export declare enum ReplayerEvents {
|
||||
StateChange = "state-change"
|
||||
}
|
||||
export declare type MaskInputFn = (text: string) => string;
|
||||
export declare type ElementState = {
|
||||
scroll?: [number, number];
|
||||
};
|
||||
export {};
|
||||
|
||||
Reference in New Issue
Block a user