We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0efecb4 commit 1e7aa19Copy full SHA for 1e7aa19
src/cdk/menu/context-menu-trigger.ts
@@ -137,6 +137,7 @@ export class CdkContextMenuTrigger extends CdkMenuTriggerBase implements OnDestr
137
positionStrategy: this._getOverlayPositionStrategy(coordinates),
138
scrollStrategy: this.menuScrollStrategy(),
139
direction: this._directionality || undefined,
140
+ usePopover: true,
141
});
142
}
143
@@ -150,6 +151,7 @@ export class CdkContextMenuTrigger extends CdkMenuTriggerBase implements OnDestr
150
151
return createFlexibleConnectedPositionStrategy(this._injector, coordinates)
152
.withLockedPosition()
153
.withGrowAfterOpen()
154
+ .withPopoverLocation('inline')
155
.withPositions(this.menuPosition ?? CONTEXT_MENU_POSITIONS);
156
157
0 commit comments