Skip to main content

Tab overflow

When a group accumulates more tabs than fit across the width of its header, Dockview needs a way to keep every tab reachable. By default the surplus tabs are collapsed behind an overflow dropdown.

Default overflow (dropdown)

By default, tabs that no longer fit are clipped and collapsed behind a chevron button in the header's right actions. Clicking the chevron opens a dropdown listing the hidden tabs; a count badge shows how many are hidden. This is the default and requires no configuration; it is equivalent to overflow.mode: 'dropdown'.

You can turn overflow handling off entirely with disableTabsOverflowList, in which case the strip simply scrolls.

To wrap tabs onto multiple rows, see Multi-row Tabs.

Enhancing the dropdown

The dropdown can be upgraded, in place, into a searchable, most-recently-used tab switcher with full keyboard navigation. Same chevron, same badge, richer popover body. See Advanced overflow.