scania / corporate-ui

This repo will be archived in Q3 2021, please visit https://github.com/scania-digital-design-system
https://digitaldesign.scania.com/
25 stars 15 forks source link

Bug - FOUC in firefox using CDN #581

Open mmexvr opened 4 years ago

mmexvr commented 4 years ago

Describe the bug
A clear and concise description of what the bug is. If you use CDN in your project and go to Firefox a very small flicker(Flash of unstyled content) appears in the application when loading. This only appears in FF, what is discovered so far, at least.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a simple HTML page using corporate ui
  2. Reload the page a couple of times
  3. See the FOUC appearing

Expected behavior
A clear and concise description of what you expected to happen. No FOUC showing

Screenshots
If applicable, add screenshots to help explain your problem. Example image

Version of Corporate-ui
Latest 4.x

Framework and version
CDN, html or angular doesn't matter

Desktop information:
Please complete the following information