-
-
Notifications
You must be signed in to change notification settings - Fork 382
bug(DockViewV2): DockViewComponents are empty #7853
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
On several pages of our project, the DockViewComponent is inside a Blazor subcomponent. In this case, the subcomponent is rendered empty: there's just the div, and no content.
Example, FlowDetail.razor page:
<DockViewV2 @key="@dockViewKey" Name="DockViewFlow" EnableLocalStorage="false" ShowClose="false"> <DockViewContent Type="DockViewContentType.Row"> <DockViewContent Type="DockViewContentType.Group" Width="25"> <FlowProperties /> <FlowAttributes /> </DockViewContent> ... </DockViewContent> </DockViewV2>
and the FlowProperties.razor subcomponent:
<DockViewComponent Title="@AppLabels.Properties" ShowClose="false" Height="50">..</DockViewComponent>
This subcomponent is made completely empty: <div ...>, and the problem is the same for all other subcomponents.
Expected Behavior
The FlowProperties sub-component should display its contents (a title and a table).
Interactive render mode
Static Server (Static server-side rendering (static SSR))
Steps To Reproduce
.
Exceptions (if any)
Issue since DockViewV2 v10.0.5
I had to downgrade in v10.0.3 to retrieve a correct behavior
.NET Version
NET9.0
Anything else?
No response