-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Labels
bugSomething isn't workingSomething isn't working
Description
Preflight Checklist
- 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
v2.0.0-alpha.4
Expected Behavior
RRWeb should add additional load listener, not replace current, because some images have default listener. Please, replace image.onload = recordInlineImage to image.addEventListener('load', recordInlineImage).
Actual Behavior
Now RRWeb removes current load listener if inlineImages option is available.
Steps to Reproduce
Popular case for this is: <img style="opacity: 0" onload="this.style.opacity=1" />. After "inlining" this image will be not visible.
Testcase Gist URL
No response
Additional Information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working