Skip to content

Commit c5d40a0

Browse files
crisbetojosephperrott
authored andcommitted
docs(menu): reflect default overlap trigger behavior (#16125)
Fixes the menu docs still referring to the old `overlapTrigger` behavior. Fixes #16123.
1 parent 033a4f7 commit c5d40a0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/material/menu/menu.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ Menus support displaying `mat-icon` elements before the menu item text.
5252

5353
### Customizing menu position
5454

55-
By default, the menu will display below (y-axis), after (x-axis), and overlapping its trigger.
56-
The position can be changed using the `xPosition` (`before | after`) and `yPosition`
57-
(`above | below`) attributes. The menu can be be forced to not overlap the trigger using
58-
`[overlapTrigger]="false"` attribute.
55+
By default, the menu will display below (y-axis), after (x-axis), without overlapping
56+
its trigger. The position can be changed using the `xPosition` (`before | after`) and `yPosition`
57+
(`above | below`) attributes. The menu can be forced to overlap the trigger using the
58+
`overlapTrigger` attribute.
5959

6060
```html
6161
<mat-menu #appMenu="matMenu" yPosition="above">

0 commit comments

Comments
 (0)