Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Iframe replay fails after the second full snapshot #983 #984

Merged
merged 1 commit into from
Sep 8, 2022
Merged

fix: Iframe replay fails after the second full snapshot #983 #984

merged 1 commit into from
Sep 8, 2022

Conversation

luocongqiu
Copy link
Contributor

the frame document node root id is undefined after first full snapshot, is the same as id after second full snapshot, then replay fail

Copy link
Member

@YunFeng0817 YunFeng0817 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your great pull request. I also ran into this problem before. I tried to fixed it on the replayer side. https://github.com/rrweb-io/rrweb/pull/989/files#diff-0d9a03e75eacff8f6be89336b49419b210455c1a81d8f46fae7cea2d83a8f93eR339-R341
It can resolve the error for events recorded with the old version.
Your fix is on the recorder side and it's also very nice.

@YunFeng0817 YunFeng0817 linked an issue Sep 8, 2022 that may be closed by this pull request
1 task
@Yuyz0112 Yuyz0112 merged commit 6eaec04 into rrweb-io:master Sep 8, 2022
@Yuyz0112
Copy link
Member

Yuyz0112 commented Sep 8, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Iframe replay fails after the second full snapshot
4 participants