The issue is reproducible in my project, tho I'm not sure how it exactly came to be. If anyone is interested into looking further into this, I can provide my project code (WPF App with Blazor).
What I did: When I have a couple of nodes in my diagram and zoom in and out further What happens: In script.js the unobserve function fails to unobserve the given element, because it is null.
TypeError: Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element'.
The issue is reproducible in my project, tho I'm not sure how it exactly came to be. If anyone is interested into looking further into this, I can provide my project code (WPF App with Blazor).
What I did: When I have a couple of nodes in my diagram and zoom in and out further
What happens: In
script.js
theunobserve
function fails to unobserve the given element, because it is null.TypeError: Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element'.
https://github.com/Blazor-Diagrams/Blazor.Diagrams/blob/83beefa940990bda0cb78078973fc36e50fb6ddd/src/Blazor.Diagrams/wwwroot/script.js#L42
Simple, but not so thoughtful solution:
I just copied the whole
script.js
to my project and added this additional falsy check for the parameter. I left the rest untouched.