I try to check my website in Google PageSpeed Insights.
Any page. For example this - https://simplex.ua/ua/prep-germany
Here is screenshot of his check with message "Your web browser (Chrome 109) is out of date. Update your browser for more security, speed and the best experience on this site.":
And of course PageSpeed tells me that Cumulative Layout Shift is - 0.138
How it can be possible? How to eliminate this, so CLS can be 0 again?
My website is running on Symfony. Does it mean something wrong with it?
I honestly don't know what to do. Ind google gives me nothing :)
A few things are going on here:
main.js
(the $buo_f
function...see the matching reference from the browser-update docs here). If you don't need for users to have the latest browser versions (most sites don't), I'd suggest removing that function from wherever it's added to your bundle.margin-top
on the page's body, which the brower-update script added to shift the page's content below the warning bar. According to the browser-update customization docs, there are a few options that may help here. Setting shift_page_down
to false would prevent margin-top
being used, though it would then block some page content. You could also try style: 'bottom'
to see if however it adds it to the bottom of the page still causes CLS (it might not).