@next/font
still has content layout shift on mobile
#45095
Unanswered
LogansDad
asked this question in
Show and tell
Replies: 1 comment
-
I just added a comment in that chromium bug saying that the problem is not with
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
According to the doc for
@next/font
,you can optimally load web fonts with zero layout shift, thanks to the underlying CSS size-adjust property used.
However, the
size-adjust
property that@next/font
uses does not work on Chrome for Android.A bug for the issue is filed here
https://bugs.chromium.org/p/chromium/issues/detail?id=1370818
Most web traffic is from mobile devices, so utilizing
size-adjust
will not move the needle in the right direction for the CLS core web vital.Posting this as a discussion here in hopes that this brings about more awareness and Google fixes
size-adjust
on Chrome for Android.Beta Was this translation helpful? Give feedback.
All reactions