html displayed before kendo mobile is initilazed

2 posts, 0 answers
  1. Martin
    Martin avatar
    12 posts
    Member since:
    Mar 2008

    Posted 26 Jun 2012 Link to this post

    The HTML within my initial view is displayed momentarily without Kendo styling before kendo is initialized.  Is there a way to stop this from happening?
  2. Kamen Bundev
    Kamen Bundev avatar
    1532 posts

    Posted 29 Jun 2012 Link to this post

    Hi Martin,

    To prevent the so called FOUC (Flash Of Unstyled Content) you can hide the content initially (but not with display: none) and then show it when everything loads/inits (like in a data-init event). Check this thread for more information about how you can do it.

    Kamen Bundev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top