Skip to content

Commit

Permalink
fix(select): add position styles to work as standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
brandyscarney committed Sep 18, 2018
1 parent fd1b636 commit 224b4f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/components/select/select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

display: flex;

position: relative;

color: var(--color);

font-family: $font-family-base;
Expand All @@ -26,6 +28,8 @@
}

:host(.in-item) {
position: static;

max-width: 45%;
}

Expand Down
1 change: 1 addition & 0 deletions core/src/components/select/select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 224b4f8

Please sign in to comment.