Improve Cumulative Layout Shift (CLS)

I got a warning message about Cumulative Layout Shift (CLS) from Google.

The point should be less than 0.1 per page, but more than 2,000 pages of my discourse site indicate more than 0.25, which is not recommended by google.

Will Discourse deal with this in the future update?

Or this has nothing to do with Discourse?

3 Likes

Yes, can confirm, this is an issue for my discourse site as well. Going to be a pain in the *** to fix given the dynamic content…

2 Likes

Do you have ads running?

I’m seeing increase in such warning, but I’m assuming it’s the ads, they ten to cause the most layout shift, jumps no less.