Broken Css on first load / after clear cache load
Bug Report
- Package version(s): 4.8.3
- Browser and OS versions: Google chrome
Describe the issue:
I using Create-React-App-Typescript with office-ui-fabric-react in SharePoint Online, if i static link the generated reactjs file the item was render ok. But when i dynamically add the generated reactjs file, there is the posibility css of component was not generate on first load/after clear cache.
For example facepile, i saw the persona control will have this class "imageIsCover_764b0dfc" If the css is broken, this css class content was not generated in html elements.
Actual behavior:
On first load / after clear cache, css of office-ui-fabric-react broken.
Only happen for those js that dynamic add.
The css content was not generated

Expected behavior:
The css content was generated.

Same for me. Same version of the package. Tested for IE, EDGE, Safari: OK First load in Firefox -> dynamic loadStyles doesn't seem to work correctly (sometimes) First load in Chrome -> dynamic loadStyles doesn't seem to work correctly (more often)
I test with IE,EDGE,FireFox,Chrome all on first load the css was broken. Addition info, when open browser devtool with disable http cache and reload the page will triger this as well.
Any one have a better way to load the reactjs file dynamically ?
Upgrade to the latest version 4.13.2 but still same issue. happen more frequently on panel componet
working panel

not working

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions to Fabric React!
This issue has been automatically closed because it has not had recent activity after being marked as stale. If you belive this issue is still a problem or should be reopened, please reopen it! Thank you for your contributions to Fabric React! Why am I receiving this notification?