[Bug] RadzenSplitter inside RadzenTabs overflows tab bounds and shows a scrollbar when `--rz-tabs-padding: 0`

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

  1. Use the code from the Code to reproduce section below.
  2. Run the application and open the page.
  3. Drag the splitter bar between Pane 1 and Pane 2 all the way up.
  4. Drag the splitter bar between Pane 2 and Pane 3 all the way up.
  5. 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 the RadzenTabs content 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 RadzenTabs container.

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-padding is 0. With the default padding it does not reproduce (or is not visible).

Thanks! It will be fixed in our next update later the week.

1 Like