Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
### Experimental

- `DropdownMenu` v2: Tweak styles ([#50967](https://github.com/WordPress/gutenberg/pull/50967), [#51097](https://github.com/WordPress/gutenberg/pull/51097)).
- `DropdownMenu` v2: change default placement to match the legacy `DropdownMenu` component ([#51133](https://github.com/WordPress/gutenberg/pull/51133)).
- `DropdownMenu` v2: Render in the default `Popover.Slot` ([#51046](https://github.com/WordPress/gutenberg/pull/51046)).

## 25.0.0 (2023-05-24)
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/dropdown-menu-v2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ The distance in pixels from the trigger.
The preferred alignment against the trigger. May change when collisions occur.

- Required: no
- Default: `"center"`
- Default: `"start"`

##### `alignOffset`: `number`

Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/dropdown-menu-v2/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export type DropdownMenuProps = {
* The preferred alignment against the trigger.
* May change when collisions occur.
*
* @default 'center'
* @default 'start'
*/
align?: DropdownMenuPrimitive.DropdownMenuContentProps[ 'align' ];
/**
Expand Down