Skip to content

Commit

Permalink
remove confusing part, improve wording above
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelsycamore committed Jan 8, 2025
1 parent 94fb822 commit ab7b1c1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docs/data/material/components/menus/menus.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,7 @@ Menus are implemented using a collection of related components:

A basic menu opens over the anchor element by default (this option can be [changed](#menu-positioning) via props). When close to a screen edge, a basic menu vertically realigns to make sure that all menu items are completely visible.

Choosing an option should immediately ideally commit the option and close the menu.

### Usage

In contrast to simple menus, simple dialogs can present additional detail related to the options available for a list item or provide navigational or orthogonal actions related to the primary task. Although they can display the same content, simple menus are preferred over simple dialogs because simple menus are less disruptive to the user's current context.
You should configure the component so that selecting an option immediately confirms it and closes the menu, as shown in the demo below.

{{"demo": "BasicMenu.js"}}

Expand Down

0 comments on commit ab7b1c1

Please sign in to comment.