You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Preflight Checklist
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
toimage.addEventListener('load', recordInlineImage)
.Actual Behavior
Now RRWeb removes current
load
listener ifinlineImages
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
The text was updated successfully, but these errors were encountered: