Skip to content
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

[Bug]: Flash of unstyled content when using Web Components #1438

Open
1 task done
kwalker3690 opened this issue Apr 5, 2024 · 0 comments
Open
1 task done

[Bug]: Flash of unstyled content when using Web Components #1438

kwalker3690 opened this issue Apr 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kwalker3690
Copy link

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.12

Expected Behavior

Replay will render web components as they are rendered in the web browser

Actual Behavior

There is a flash of unstyled content when web components are first loaded. It is particularly noticeable when the replay is first starting, but can also be seen if web components are fetched over the course of a replay.

Record.@2024_04_05T16_10_25.-.5.April.2024.mp4

Steps to Reproduce

  1. Use REPL or another tool to capture a replay on a site with web components, like https://m3.material.io/components/buttons/overview
  2. View the replay
  3. Observe a flash of unstyled content at the beginning of the replay, and possibly again throughout the replay when new web components are rendered

Testcase Gist URL

https://rrwebdebug.com/play/index.html?url=http%3A%2F%2Fjsonblob.com%2F1225864328652906496&version=2.0.0-alpha.12&virtual-dom=on&play=on

Additional Information

No response

@kwalker3690 kwalker3690 added the bug Something isn't working label Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant