Description
When --rz-tabs-padding is set to 0, a vertical RadzenSplitter placed inside a RadzenTabsItem can grow past the bounds of the RadzenTabs container after a certain sequence of splitter-bar drags. A scrollbar appears, and the splitter's bottom edge ends up outside the tabs.
Steps to reproduce
- Use the code from the Code to reproduce section below.
- Run the application and open the page.
- Drag the splitter bar between Pane 1 and Pane 2 all the way up.
- Drag the splitter bar between Pane 2 and Pane 3 all the way up.
- Drag the splitter bar between Pane 2 and Pane 3 all the way down.
Expected behavior
- The splitter keeps its fixed height (
400px) and stays inside theRadzenTabscontent area. - No scrollbar appears.
- The total size of the panes never exceeds the splitter's height.
Actual behavior
- A scrollbar appears.
- The splitter (or its panes) overflows the
RadzenTabscontainer.
Code to reproduce
<RadzenTabs>
<Tabs>
<RadzenTabsItem Text="Test">
<RadzenSplitter Orientation="Orientation.Vertical" style="height: 400px;">
<RadzenSplitterPane Size="100px">
Pane 1
</RadzenSplitterPane>
<RadzenSplitterPane Size="100px">
Pane 2
</RadzenSplitterPane>
<RadzenSplitterPane>
Pane 3
</RadzenSplitterPane>
</RadzenSplitter>
</RadzenTabsItem>
</Tabs>
</RadzenTabs>
<style>
:root {
--rz-tabs-padding: 0rem;
}
</style>
Notes
- The issue shows up only when
--rz-tabs-paddingis0. With the default padding it does not reproduce (or is not visible).