Paulo Victor Carbonari
Paulo Victor Carbonari
Any workaround? Same problem here...
I found a workaround. This is because of the new Blazor SSR, it changes the way that JS is rendered. You need to use PageScript: https://github.com/MackinnonBuck/blazor-page-script Import the SweetAlert2 Script...
@UweKeim in your case use HeadOutlet like this:
@UweKeim Change it to: ./ at the start
@Basaingeal This is related to how Blazor SSR load scripts when enhanced navigation is on. If you disable enhanced navigation everything works fine. I still don't know any workaround besides...
``` function injectScript(url) { const script = document.createElement('script'); script.src = url; document.head.appendChild(script); } Blazor.addEventListener('enhancedload', () => { const oldScript = document.querySelector('script[src="_content/CurrieTechnologies.Razor.SweetAlert2/sweetAlert2.min.js"]'); if (oldScript) { oldScript.remove(); } injectScript('_content/CurrieTechnologies.Razor.SweetAlert2/sweetAlert2.min.js'); }); ``` i've...
Broke on production, all devices and all browsers. Not related to cache  Fixed by adding: `8.0.8` In the .Client project
> [@Pvxtotal](https://github.com/Pvxtotal) thanks for contacting us. > > It's not clear to us if you uploaded the same video twice, but we can't appreciate the regression that you are mentioning....
> [@Pvxtotal](https://github.com/Pvxtotal) thanks for the additional details. > > Are you using `MapStaticAssets()` in your app? > > If so does setting `"ReloadStaticAssetsAtRuntime": false` in your `appsettings.Development.json` improve the timings?...
> [@Pvxtotal](https://github.com/Pvxtotal) thanks for the additional details. > > This is happening within Visual Studio, isn't it? And potentially only happening when you are trying to attach the debugger? (Does...