We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
rrweb
Some HTML Element getRootNode().host method returns a String type, but RRWeb expected type is Element or null.
getRootNode().host
String
Element
null
It's mutation.ts file:
const shadowHost = n.getRootNode().host returns a String type, but expected type is Element or null:
const shadowHost = n.getRootNode().host
this.doc.contains(shadowHost) - if shadowHost is a String type, this line is crashing rrweb recording:
this.doc.contains(shadowHost)
shadowHost
No response
The text was updated successfully, but these errors were encountered:
YunFeng0817
Successfully merging a pull request may close this issue.
Preflight Checklist
What package is this bug report for?
rrweb
Expected Behavior
Some HTML Element
getRootNode().host
method returns aString
type, but RRWeb expected type isElement
ornull
.Actual Behavior
How to reproduce?
What's happening?
It's mutation.ts file:
const shadowHost = n.getRootNode().host
returns aString
type, but expected type isElement
ornull
:this.doc.contains(shadowHost)
- ifshadowHost
is aString
type, this line is crashing rrweb recording:Testcase Gist URL
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: