Blazor.Diagrams icon indicating copy to clipboard operation
Blazor.Diagrams copied to clipboard

Exception when diagram is being toggled in a render fragment.

Open PhoenixChua13 opened this issue 3 years ago • 0 comments

Hi, so I'm using v2.1.6 of the library in Blazor Server and have a diagram in a collapsable component (where a button is used to toggle the render fragment of the collapsable component on and off). When deployed to Azure App Service, toggling the diagram on and off is triggering an ObjectDisposed exception in the ObserveResizes function (does not happen locally); I think the javascript is getting out of sync with Blazor.

Would it be possible to add some code catch the ObjectDisposed exception?

BlazorDiagramException

Thanks for your work on the library by the way!

PhoenixChua13 avatar Dec 20 '21 23:12 PhoenixChua13