-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[Observer] Observer doesn't watch for CSSStyleSheet.insertRule #104
Comments
I was able to do this in following way:
|
@Yuyz0112 @VladimirMilenko I applied this fix in a hacky way https://github.com/rrweb-io/rrweb/pull/124/files. It works but if you can provide guidance on how you would like it implemented properly, I would be happy to clean it up into something mergeable. |
Is this the same as #58 ? |
This was referenced Feb 21, 2020
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, it is impossible to track calls to insertRule(which is used in CSS-in-JS libraries).
With this, it's impossible to get the styles, which are added dynamically during render phase.
I believe this can be solved by proxying calls to
styleElement.sheet.addRule/insertRule
The text was updated successfully, but these errors were encountered: