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

content-visibility: auto; makes CLS go bananas #89

Closed
zeemawn opened this issue Jan 11, 2021 · 2 comments
Closed

content-visibility: auto; makes CLS go bananas #89

zeemawn opened this issue Jan 11, 2021 · 2 comments

Comments

@zeemawn
Copy link

zeemawn commented Jan 11, 2021

Hi, I've already posted this as an issue in the web-vitals repo but got referred here 🙂

GoogleChrome/web-vitals#108

It seems like by using the new content-visibility: auto; the measured layout-shifts keep increasing while the user scrolls the page, even though the shifts are happening outside the visible viewport - is this a desired behavior?

The reported CLS-values can easily get to 1 and above just by scrolling down the page (even though for the user everything looks fine and non-jumpy).

@yoavweiss
Copy link
Collaborator

There was a Chromium implementation bug that was fixed. Do you still see an issue in e.g. Chrome Canary?

@skobes-chromium
Copy link
Collaborator

skobes-chromium commented Jan 11, 2021

Let's use crbug.com/1164942 to track this issue.

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

No branches or pull requests

3 participants