fix(select): add position styles to work as standalone

This commit is contained in:
Brandy Carney
2018-09-18 15:41:53 -04:00
parent fd1b636b12
commit 224b4f83b2
2 changed files with 5 additions and 0 deletions

View File

@ -18,6 +18,8 @@
display: flex;
position: relative;
color: var(--color);
font-family: $font-family-base;
@ -26,6 +28,8 @@
}
:host(.in-item) {
position: static;
max-width: 45%;
}

View File

@ -18,6 +18,7 @@ export class Select implements ComponentInterface {
private inputId = `ion-sel-${selectIds++}`;
private labelId?: string;
private overlay?: HTMLIonActionSheetElement | HTMLIonAlertElement | HTMLIonPopoverElement;
@Element() el!: HTMLIonSelectElement;
@Prop({ connect: 'ion-action-sheet-controller' }) actionSheetCtrl!: HTMLIonActionSheetControllerElement;