I am not able to override the width of the dropdown in an ion-select dropdown:
this is how my html looks like:
<ion-select (ngModelChange)="onChange($event)" interface="popover" [(ngModel)]="selectedValue" placeholder="'Select'">
<ion-select-option *ngFor="let option of options" [value]="option.value">
{{ option.label }}
</ion-select-option>
</ion-select>
I noticed the width of the dropdown comes from autogenerated style:
and I am not able to override this width.
whether I try to access the ion-popover::part(content) or try to override the .popover-content css class width, neither works.
packages:
“@ionic/angular”: “^6.1.9”,