Skip to content

chore: add menu-bar use cases dev page (#12839) (CP: 25.3) - #12867

Merged
web-padawan merged 1 commit into
25.3from
cherry-pick-12839-to-25.3-1790588996621
Sep 28, 2026
Merged

web-padawan merged 1 commit into
25.3from
cherry-pick-12839-to-25.3-1790588996621

Conversation

@vaadin-bot

Copy link
Copy Markdown
Collaborator

This PR cherry-picks changes from the original PR #12839 to branch 25.3.


Original PR description

Description

Related to #12816, #12833

  • Added dev/menu-bar-use-cases.html with 28 menu bars in common layouts, grouped by layout type
    • Block, shrink to fit, flex row, flex column, grid, positioned, float, table, horizontal layout, and options (end-aligned, reverse-collapse, RTL, host padding and border)
  • Adapted from the QA page shared by @DiegoCardoso in fix!: keep menu-bar overflow button inside content-sized parent #12833 (comment)
    • Only includes the cases where main keeps the overflow button inside the menu bar, so the page can be used to check for regressions
    • Added max-width: 100% to the flex column, justify-items: start and table cell cases, so they show a collapse instead of overflowing their parent

The cases that clip on main (split layout, space-between title, full width sibling, two menu bars in one row) will be added together with the fix for #12816.

Type of change

  • Internal change

How to test

  1. Open dev/menu-bar-use-cases.html, also with ?theme=lumo and ?theme=aura
  2. Check each case
  3. The overflow button is shown inside the blue outline of each menu bar, and no menu bar overflows its dashed box

🤖 Generated with Claude Code

@sonarqubecloud

Copy link
Copy Markdown

@web-padawan
web-padawan merged commit 74da07b into 25.3 Sep 28, 2026
11 checks passed
@web-padawan
web-padawan deleted the cherry-pick-12839-to-25.3-1790588996621 branch September 28, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants