rrweb
rrweb copied to clipboard
[Bug]: Style missing in microapp(used customElements)
Preflight Checklist
- [X] 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.0
Expected Behavior
Ability to record microapp style changes( It is actually a custom element within which a link tag is appended )
Actual Behavior
The microapp async route style was not successfully recorded
Steps to Reproduce
demo code: https://github.com/hb-bobo/rrweb-microapp
git clone https://github.com/hb-bobo/rrweb-microapp.git
yarn
yarn dev
<qiankun-head>
<qiankun-head>
const link = document.createElement('link');
link.rel = 'stylesheet'
link.type = "text/css"
link.href = '//activity.hdslb.com/blackboard/static/1d5c9c63ddd602617ed9a6ec73bebe8f/test.css'
document.querySelector('qiankun-head').appendChild(link);
Testcase Gist URL
No response
Additional Information
No response