You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of the Issue:
When using the docs supplied here https://www.npmjs.com/package/geist?activeTab=readme#with-tailwind-css there is an initial flash of rendering a fallback font which causes a Cumulative Layout Shift from initially rendering the screen. It's not great for my lighthouse score :)
Expected Behavior:
I expect the tailwind css docs to recommend a way that works without cumulative layout shift (i.e. it should work like the app-router docs)
Environment (please complete the following information):
OS: MacOS
Software: NextJS 14
Version of the Font: 1.0.1
The text was updated successfully, but these errors were encountered:
Font Name (Geist Sans/Geist Mono):
Description of the Issue:
When using the docs supplied here https://www.npmjs.com/package/geist?activeTab=readme#with-tailwind-css there is an initial flash of rendering a fallback font which causes a Cumulative Layout Shift from initially rendering the screen. It's not great for my lighthouse score :)
Reverting to https://www.npmjs.com/package/geist?activeTab=readme#app-router solves it.
Steps to Reproduce:
Expected Behavior:
I expect the tailwind css docs to recommend a way that works without cumulative layout shift (i.e. it should work like the app-router docs)
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: