We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15247dc commit 0f6729dCopy full SHA for 0f6729d
packages/rrweb/src/replay/index.ts
@@ -1520,8 +1520,9 @@ export class Replayer {
1520
parentSn.tagName === 'textarea' &&
1521
mutation.node.type === NodeType.Text
1522
) {
1523
- // ES6-TODO: rename this to Array.from(parent.childNodes)
1524
- const childNodeArray = Array.prototype.slice.call(parent.childNodes);
+ const childNodeArray = Array.from(
+ parent.childNodes as Iterable<Node & RRNode>,
1525
+ );
1526
1527
// https://github.com/rrweb-io/rrweb/issues/745
1528
// parent is textarea, will only keep one child node as the value
0 commit comments