-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Duplicate style node added hundreds of times #790
Comments
Thanks, for the report, going to debug this. |
@Yuyz0112 I think I have a consistent repro for this issue. If I use this Chrome Extension: https://help.getguru.com/en/articles/4680811-chrome-guru-browser-extension and open almost any website and run rr-web on it, it happens. If you look at the full snapshots that are produced, you should see lots of duplicated large style nodes that start with the class name Thanks, and let me know if I can provide any more details or help at all. |
Looks like this commit fixed this: #866 🎉 Closing this issue |
Hey everyone,
We've been having an issue lately where style nodes get added hundreds of times to a recording, and it causes the recording to become massive.
I haven't figured out how to reliably reproduce the issue, but it happens occasionally on our web app (app.posthog.com) and on several of our customer's web apps. I can't share the entire recording because it's massive and includes PII, but here is a gist with a subset of the snapshots: https://gist.github.com/rcmarron/d473fc0e5aeae281fffd978d6cc121a6
A couple of notes/thoughts:
addedSet
is slow/async when the node is large, so when theMutationObserver
sends duplicates, they aren't properly de-duped?Let me know if I can share any more details
Thanks!
The text was updated successfully, but these errors were encountered: