majorimi / blazor-components

Components collection and extensions for Blazor applications.
MIT License
327 stars 59 forks source link

After closing the Modal and trying to open again we get this error and the map isn't visible #86

Closed majorimi closed 3 years ago

majorimi commented 3 years ago

Hello I have a bit of similar issue When using the map inside a Modal After closing the Modal and trying to open again we get this error and the map isn't visible crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception rendering component: Cannot access a disposed object. Object name: 'JSObjectReference'. System.ObjectDisposedException: Cannot access a disposed object. Object name: 'JSObjectReference'.

I Also have the same issue even when used in pages and after navigating out of the page that has the map and then back in, i get the same exception

BTW: I'm using v1.4.0 Thank you.

Originally posted by @NO1225 in https://github.com/majorimi/blazor-components/issues/73#issuecomment-887663369

majorimi commented 3 years ago

Issue fixed by the component user. https://github.com/majorimi/blazor-components/issues/73#issuecomment-887722459