Description
CascaderEmpty is rendered in the DOM but remains hidden when Cascader is used in inline mode.
Popup mode works because CascaderContent provides the named group/combobox-content ancestor and Base UI's data-empty state. Inline mode renders CascaderPanel without CascaderContent, so the group-data-empty/combobox-content:flex class on CascaderEmpty can never activate.
Reproduction
- Render an inline Cascader with
CascaderPanel, CascaderInput, CascaderList, and CascaderEmpty.
- Enter a query that matches no items.
- Inspect the DOM. The
cascader-empty element exists with data-state="empty", but remains hidden.
Expected behavior
The empty message should be visible when an inline Cascader has no rendered items, matching popup Cascader and ComboboxEmpty behavior.
Suggested fix
Have inline CascaderPanel publish the same named-group and empty-state contract as CascaderContent: add group/combobox-content in inline mode and set data-empty when renderedItems.length === 0. This keeps CascaderEmpty aligned with ComboboxEmpty without a forced visibility override or conditional unmount.
Screenshots
Before

After

Description
CascaderEmptyis rendered in the DOM but remains hidden whenCascaderis used in inline mode.Popup mode works because
CascaderContentprovides the namedgroup/combobox-contentancestor and Base UI'sdata-emptystate. Inline mode rendersCascaderPanelwithoutCascaderContent, so thegroup-data-empty/combobox-content:flexclass onCascaderEmptycan never activate.Reproduction
CascaderPanel,CascaderInput,CascaderList, andCascaderEmpty.cascader-emptyelement exists withdata-state="empty", but remains hidden.Expected behavior
The empty message should be visible when an inline Cascader has no rendered items, matching popup Cascader and
ComboboxEmptybehavior.Suggested fix
Have inline
CascaderPanelpublish the same named-group and empty-state contract asCascaderContent: addgroup/combobox-contentin inline mode and setdata-emptywhenrenderedItems.length === 0. This keepsCascaderEmptyaligned withComboboxEmptywithout a forced visibility override or conditional unmount.Screenshots
Before
After