You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I create a horizontal Splitter with 2 SplitterPanes, and set the right one to Collapsible="true" Collapsed="true" Size="300px", it will expand with size 0.
When I drag it to have a size, collapse end then expand it, the size it had on collapse is restored.
To Reproduce
Steps to reproduce the behavior:
Have a page with
<RadzenSplitter Orientation="Orientation.Horizontal">
<RadzenSplitterPane Collapsible="false">
Left pane
</RadzenSplitterPane>
<RadzenSplitterPane Collapsible="true" Collapsed="true" Size="300px">
Right pane
</RadzenSplitterPane>
</RadzenSplitter>
Expand the right pane
Pane expands with size 0 -> Error, should restore with 300px
Drag splitter to give right pane some size
Collapse right pane
Expand right pane
Right pane restores size as expected
Expected behavior
When the right pane is expanded the 1st time, it should have the configured Size of 300px.
Desktop (please complete the following information):
OS: Windows 11
Browser: Edge
Version: 4.31.5
The text was updated successfully, but these errors were encountered:
The problem comes from the fact that the non collapsible pane do not have any size defined and will use 100%. You can avoid this by defining some size:
<RadzenSplitter Orientation="Orientation.Horizontal">
<RadzenSplitterPane Collapsible="false" Size="300px">
Left pane
</RadzenSplitterPane>
<RadzenSplitterPane Collapsible="true" Collapsed="true" Size="300px">
Right pane
</RadzenSplitterPane>
</RadzenSplitter>
Describe the bug
When I create a horizontal Splitter with 2 SplitterPanes, and set the right one to Collapsible="true" Collapsed="true" Size="300px", it will expand with size 0.
When I drag it to have a size, collapse end then expand it, the size it had on collapse is restored.
To Reproduce
Steps to reproduce the behavior:
Pane expands with size 0 -> Error, should restore with 300px
Right pane restores size as expected
Expected behavior
When the right pane is expanded the 1st time, it should have the configured Size of 300px.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: