-
Bug ReportIs there is a solution to avoid the high CLS (layout shift) when scrolling? Steps to reproduceJust scroll down and the CLS value will increase. Testcase |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
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? Other than that, i cannot see any issues when scrolling the mentioned sticky demopage (which is only there to demonstrate the sticky module anyway) |
Beta Was this translation helpful? Give feedback.
-
Moving to discussion, because this is a question of individual page layout and not a framework bug. |
Beta Was this translation helpful? Give feedback.
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)