Skip to content

Commit cd14409

Browse files
committed
fix(material/timepicker): render overlay next to trigger (#32288)
Switches the timepicker to insert its overlay next to the trigger in the DOM which helps with accessibility. (cherry picked from commit 0d83d65)
1 parent fe79e98 commit cd14409

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/material/timepicker/timepicker.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ export class MatTimepicker<D> implements OnDestroy, MatOptionParentComponent {
360360
.withFlexibleDimensions(false)
361361
.withPush(false)
362362
.withTransformOriginOn('.mat-timepicker-panel')
363+
.withPopoverLocation('inline')
363364
.withPositions([
364365
{
365366
originX: 'start',

0 commit comments

Comments
 (0)