Open toluwtglobal opened 4 months ago
Hi, I got the same issue, but even with the changes in the pullrequest I sometimes get an exception by the canvas already being disposed when calling ObserveResizes. Checking if the Canvas has been disposed before fixed this.
In
DiagramCanvas
reference error is thrown when un-subcribing from resize event during dispose. This is cause by race conditions as the method is executing synchronously. WE have created a PR for making the execution asynchronous. See PR link below.https://github.com/Blazor-Diagrams/Blazor.Diagrams/pull/453