Blazored / Toast

A JavaScript free toast library for Blazor and Razor Component applications
https://blazored.github.io/Toast/
MIT License
663 stars 92 forks source link

Toast is not loading properly the first time #85

Closed RomainAn closed 4 years ago

RomainAn commented 4 years ago

Hi,

I'm running blazor webassembly 3.2.0 and toast 3.1.2. But i have some issue, the first time i run my blazor application, there is an issue with the toast. If i refresh the page, it will working fine.

image

This is at the left top corner instead of the right top corner and red toast.

Thank you for your help !

chrissainty commented 4 years ago

Hi @Rymix, this looks like a potential caching issue or some other local browser problem. We see these from time to time. If you could clear your browser cache, then try again. Also try and open the page in a private/incognito window.

grserwe commented 4 years ago

Rymix, did you get this working? I tried Chris's suggestion of private/incognito window and still get 404 error trying to get either the minified or non minified stylesheet. If I manually add a copy of the stylesheet the toasts work just fine. Obviously not a long term solution, but I'll try and do some digging. I'm using webassembly 3.2.1 and toast 3.1.2

grserwe commented 4 years ago

I updated my .net sdk and now it finds the css file. Very strange.

RomainAn commented 4 years ago

Dear @chrissainty Yes it was cache issue, everything is working great now ! Thank you for your help !