chanan / BlazorStrap

Bootstrap 4 Components for Blazor Framework
https://blazorstrap.io
The Unlicense
920 stars 157 forks source link

Exception on Dispose #612

Closed BoBiene closed 3 months ago

BoBiene commented 4 months ago

Only call JavaScriptInterop if control has rendered preventing Exception in Dispose "JavaScript interop calls cannot be issued at this time. This is because the component is being statically rendered. When prerendering is enabled, JavaScript interop calls can only be performed during the OnAfterRenderAsync lifecycle method."