rrweb
rrweb copied to clipboard
[Bug]: Replay issue when iframe present in DOM
Preflight Checklist
- [X] I have searched the issue tracker for a bug report that matches the one I want to file, without success.
What package is this bug report for?
rrweb
Version
2.0.0-alpha.7
Expected Behavior
Whenever there is iframe in replay and we try to jump to any timestamp, the iframe goes blank. For older versions before alpha the replay is playing just fine.
Note: In version 1.0.0-alpha.1 the same scenario is happening but its throwing console error which is not there in version 2.0.0-alpha.7
The error: Uncaught DOMException: Failed to execute 'insertBefore' on 'Node': Only one element on document allowed.
Actual Behavior
Replay should not go blank when we jump to any timestamp
Steps to Reproduce
Replay any sessions which has iframe element in it.
Testcase Gist URL
No response
Additional Information
No response
Can we get a solution for this?