Feature Description
Similar to panelClass attribute on https://material.angular.dev/components/select/api#MatSelect
The width of the overlay is hard set here based on the triggering element:
|
overlayRef.updateSize({width: input.getOverlayOrigin().nativeElement.offsetWidth}); |
Use Case
My use case is to adjust the width of the panel to be at least min-content so a narrow element used as a trigger does not cause the list of time options to also be very narrow.
Feature Description
Similar to panelClass attribute on https://material.angular.dev/components/select/api#MatSelect
The width of the overlay is hard set here based on the triggering element:
components/src/material/timepicker/timepicker.ts
Line 263 in c71256d
Use Case
My use case is to adjust the width of the panel to be at least min-content so a narrow element used as a trigger does not cause the list of time options to also be very narrow.