Che4ter Che4ter - 4 months ago 21 Question

Loading of material design lite

I wanted to use the material design lite library on my webform page, but I have load problems with some components.
For example with the radio button element. When the page loads, it shows the styled radio button first and after 1 second it loads the material style. This looks very ugly. I tried to include the resources on different positions but nothing helps. With my other ui frameworks I don't have these problems and when I run a plain html example it works perfectly.


I found a way. You have to upgrade the elements earlier

  $(document).ready(function() {