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

CLS is reported in browsers that don't support it #57

Closed
philipwalton opened this issue Jun 26, 2020 · 0 comments · Fixed by #58 or GoogleChrome/web.dev#3389
Closed

CLS is reported in browsers that don't support it #57

philipwalton opened this issue Jun 26, 2020 · 0 comments · Fixed by #58 or GoogleChrome/web.dev#3389

Comments

@philipwalton
Copy link
Member

Currently, the logic for when to report CLS happens outside of the check for a successfully created PerformanceObserver that can observe layout-shift entries. And since 0 values are acceptable to report for CLS, the result is other browsers will report CLS (always with the initial value of 0) even though they do not track layout shifts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant