Skip to content

High CLS (layout shift) when scrolling #1877

Answered by lubber-de
macnux asked this question in General
Discussion options

You must be logged in to vote

From my understanding a perfect CLS is about reserving exact space for content which is lazy loaded, so space does not change when the area appears. (Please correct me, if i am mistaken.)

Isn't this something the webpage designer has to take care of? Rather than the framework?
You may use placeholder for that purpose.

Other than that, i cannot see any issues when scrolling the mentioned sticky demopage (which is only there to demonstrate the sticky module anyway)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lubber-de
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1871 on February 08, 2021 21:33.