Skip to content
Bug reportDec 5, 2026· 0:22· 11 views

Bootstrap v6.0.0-alpha.2: fly-out submenus shrink to min-width (white-space regression)

0:22 total

Comments · 0

Be the first to comment.

Bug reportby SceneRecap AI

mediumMenu/dropdown CSS: the .menu-item white-space rule changed in PR #43419. Fly-out submenu width now falls back to min-width instead of content width.
os: macOSdpr: 1page: Bootstrap v6.0.0-alpha.2 – fly-out submenu width regression #43494locale: en-USbrowser: Chromium 151.0.7922.34library: Bootstrap v6.0.0-alpha.2 via cdn.jsdelivr.nettimezone: Europe/Berlinviewport: 1280x720

Repro steps

  1. 1.Open the repro page for issue #43494, which loads Bootstrap v6.0.0-alpha.2 from cdn.jsdelivr.net in Chromium.
  2. 2.Open the fly-out submenu in the left panel labeled 'BUG (alpha.2)'. Its items are User management, Roles and permissions, Audit and security log and Billing and invoices.
  3. 3.Hover the 'User management' item in the left submenu.
  4. 4.Hover the 'Roles and permissions' item in the left submenu.
  5. 5.For comparison, hover items in the right panel labeled 'EXPECTED (alpha.1 behavior)'.

Expected

The submenu grows to fit its content. Each item title and description stays on one line, as the alpha.1 control panel shows. For example, 'Configure access control and assign roles to team' fits on one line.

Actual

The alpha.2 submenu shrinks to its min-width. Item titles such as 'Roles and permissions' and 'Audit and security log' wrap to two lines. Descriptions wrap onto three lines, so the menu is much narrower and taller. The layout does not change during hover through 21.0s.

Evidence

visualThe page header says the regression comes from alpha.1: PR #43419 removed white-space: nowrap from .menu-item.
visualThe left (BUG alpha.2) submenu is narrow. Titles wrap ('Roles and / permissions', 'Audit and security / log') and descriptions wrap onto three lines.
visualThe hovered 'Roles and permissions' item in the left submenu spans four wrapped lines of text.
visualControl: in the right (EXPECTED alpha.1) submenu, hovered 'User management' shows 'Add, edit and (de)activate user accounts' on one line at full content width. This case works correctly.
visualControl: in the right submenu, hovered 'Roles and permissions' shows 'Configure access control and assign roles to team' on one line. This case works correctly.
visualAfter the user returns to the left submenu and hovers 'User management', it is still at min-width with wrapped descriptions.
Issue markdown (copy-paste ready)
## Bug: fly-out submenus shrink to min-width in v6.0.0-alpha.2

Regression from alpha.1. The repro page header attributes it to PR #43419, which removed `white-space: nowrap` from `.menu-item` (visible at 1.0s).

### Environment
- Bootstrap v6.0.0-alpha.2 (cdn.jsdelivr.net)
- Chromium 151.0.7922.34, macOS
- Viewport 1280x720, DPR 1

### Steps to reproduce
1. Open the repro page for #43494 (1.0s).
2. Open the fly-out submenu in the 'BUG (alpha.2)' panel (1.0s).
3. Hover 'User management' (5.0s), then 'Roles and permissions' (9.0s).
4. Compare with the 'EXPECTED (alpha.1 behavior)' panel (11.0s, 15.0s).

### Expected
The submenu sizes to its content. Titles and descriptions stay on one line, as in the alpha.1 control.

### Actual
The submenu shrinks to min-width. Titles wrap ('Roles and permissions', 'Audit and security log') and descriptions wrap onto three lines, so the menu is narrow and tall. It is still the same at 21.0s.

### Evidence
- 1.0s: The left submenu is narrow and its text wraps from first render.
- 9.0s: The hovered 'Roles and permissions' item spans four lines.
- 11.0s / 15.0s (control, works): In the alpha.1 submenu, each description sits on one line at full content width.
- No console or network events were captured.

### Suggested area
The `.menu-item` white-space rule, plus how submenu width is computed. Restoring `white-space: nowrap`, or giving the submenu an intrinsic width such as `max-content`, should bring back the alpha.1 behavior.

*Recorded with SceneRecap.*

This report was written by SceneRecap from a screen recording. Try SceneRecap free

Turn a screen recording into a bug report like this one.

Repro steps, expected vs actual and the console and network evidence, each with a timestamp. On every plan, Free included.

Try SceneRecap free →
Bootstrap v6.0.0-alpha.2: fly-out submenus shrink to min-width (white-space regression) · SceneRecap