Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Fix "Text Remains Invisible During Web Font Load" Issue with Kendo Library in Lighthouse Report #5244

Open
dineshdesigner08 opened this issue Nov 26, 2024 · 0 comments

Comments

@dineshdesigner08
Copy link

dineshdesigner08 commented Nov 26, 2024

Hi Everyone,

I'm currently using the Kendo UI library, and while running a Lighthouse performance report, I'm encountering the following issue:

Ensure text remains visible during web font load Potential Savings: 1,490 ms

Affected URL: /kendo-font-icons.c6a39c1ad11c0b9d.ttf

Image

The issue is that text remains invisible while the custom web font (Kendo's icon font) is loading, which impacts both the user experience and my Lighthouse performance score.

I understand that the font-display CSS property can address this by ensuring fallback fonts are displayed while the web font is loading. However, since this font (kendo-font-icons) is part of the Kendo library, I'm unsure how to customize it correctly to apply the font-display: swap property.

Here are my questions:

  • How can I customize the Kendo UI library's font settings to include font-display: swap?
  • Is there a way to optimize the loading of Kendo's fonts to reduce the 1,490 ms delay?
  • Has anyone faced this issue before, and what would you recommend as the best fix?
  • I'm hoping to resolve this issue so my text remains visible during font loading, and I can improve the Lighthouse score for my application.

Any guidance or suggestions would be greatly appreciated. Thanks!

Browser

Chrome

@dtopalov dtopalov transferred this issue from telerik/kendo-angular Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant