#36801·fluentui

[Bug]: Menu List has no knobs for grid template

Author: radium-vCreated Sep 25, 2026Updated Sep 29, 2026
LabelsType: FeatureNeeds: Backlog reviewweb-componentsComponent: MenuListFrom ShieldFluent UI WC (v3)

Title: [Bug]: Menu List has no knobs for grid template

Bug Report

The <fluent-menu-list> component reserves a 24px indicator grid column whenever it contains a checkbox or radio item. Its grid column widths are controlled by private CSS variables, with no documented way for consumers to adjust the layout of mixed menus.

Repro or Code Sample

Render a Menu List with a plain item and an unchecked checkbox item, neither with a start slot:

xml
<fluent-menu-list>
  <fluent-menu-item role="menuitem">Open</fluent-menu-item>
  <fluent-menu-item role="menuitemcheckbox" aria-checked="false">Show details</fluent-menu-item>
</fluent-menu-list>

Inspect the Menu List’s computed grid-template-columns. The indicator column is 24px even though no indicator is visible. Adjusting that space currently requires overriding the internal --_col-indicator-width variable.

Expected Behavior

Menu List should provide a supported way to configure its grid columns for menus with mixed item types, while preserving room for a checkbox indicator when it is shown.

Image

Current Behavior

The indicator column is set to 24px based on the presence of a checkbox or radio item. Unchecked items can therefore leave an unwanted leading gap, and consumers must depend on private grid variables and structural CSS selectors to change it.

Image

Possible Solution

Expose documented CSS custom properties for Menu List’s column widths, retaining the current values as defaults.