Diagram Container Null
See original GitHub issueAfter overhauling a different corner of my program, I came back to see, that my Diagram’s Container happens to be null, on first AfterRender
The Diagram object is initialized within the OnInitializedAsync
, and within OnAfterRenderAsync
I am trying to access the Diagram, that’s where the Container gives me null, causing me a NRE.
Do you happen to know under what circumstances a Diagram’s Container is null?
Looking into the source, the Container is only ever set through https://github.com/Blazor-Diagrams/Blazor.Diagrams/blob/ef9309c310f26a4828569c26fb8ebefa0278f83b/src/Blazor.Diagrams.Core/Diagram.cs#L331-L339 and from what I recall, I didn’t need to give it an explicit Container rectangle for a Diagram to be displayed
Issue Analytics
- State:
- Created 9 months ago
- Comments:5
Top Results From Across the Web
Why my `<div id="terminal-container">` is null? [duplicate]
This is most likely due to your script running before the page is loaded. Scripts in the <head> will run as soon as...
Read more >Diagram - The layout is incorrect if containers are used
As specified before, I looked at ticket T837834 and managed to get the container to work if I set the ChildrenExpr(null). Now the...
Read more >Smart Card Architecture - Windows Security
II, Reader Name and Container Name (NULL), \\. ... The flow chart in Figure 3 shows the selection steps performed by the Windows...
Read more >Documentation: DevExtreme - JavaScript Diagram Nodes
You can also use the containerKeyExpr property to provide a container's content. ... null. Default Value: null. The Diagram UI component creates a...
Read more >PI45742: "NULL SOURCE CONTAINER" ERROR DURING ...
"Null Source Container" error during conflict resolution for RSA 8.5. Sent the following testfix:
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Indeed! But you can only consider the first one
Wouldnt the event also fire under several frontend resize circumstances?