Skip to content

MenuBar: support for reverse collapsing order #5018

@rolfsmeds

Description

@rolfsmeds

Description

An option to have Menu Bar buttons collapse into the overflow menu starting from the left (start) end of the bar instead of the right (end) end of the bar.

Use cases

As a user
I want the rightmost buttons in a menubar to stay visible as long as possible, because they're the most important ones
So that I can find and use them easily

Acceptance criteria

  • Flow API for toggling the mode, e.g. MenuBar:setReverseCollapseOrder(boolean)
  • WC/React API for toggling the mode, e.g. <vaadin-menu-bar reverse-collapse ...>
  • When the mode is enabled, MenuBarButtons collapse into the overflow menu starting from the START end of the bar.
  • The overflow menu itself is at the END end of the bar regardless of mode.

General criteria

  • APIs reviewed
  • UX/DX tests in Alpha
  • Limitations:

Security

  • Security implications have been taken into account (elaborate or link to product security requirement specification if there are implications)

Metadata

Metadata

Assignees

No one assigned

    Labels

    DSDesign System feature (e.g. component)acceptance criteriaused for the acceptance criteria checklistv24.4

    Type

    No type

    Projects

    Status

    June 2024 (24.4)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions