Skip to content

Commit

Permalink
fix(inputs): add z-index for all inputs
Browse files Browse the repository at this point in the history
fixes #16157
  • Loading branch information
manucorporat committed Oct 31, 2018
1 parent 9da51b3 commit 92ee4ef
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions core/src/components/datetime/datetime.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
white-space: nowrap;

overflow: hidden;
z-index: $z-index-item-input;
}

:host(.in-item) {
Expand Down
2 changes: 2 additions & 0 deletions core/src/components/input/input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
/* stylelint-enable */

font-family: $font-family-base;

z-index: $z-index-item-input;
}

:host(.ion-color) {
Expand Down
1 change: 1 addition & 0 deletions core/src/components/range/range.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
font-family: $font-family-base;

user-select: none;
z-index: $z-index-item-input;
}

::slotted(ion-label) {
Expand Down
2 changes: 1 addition & 1 deletion core/src/components/select/select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
@include padding(var(--padding-top), var(--padding-end), var(--padding-bottom), var(--padding-start));

display: flex;

position: relative;

color: var(--color);

font-family: $font-family-base;

overflow: hidden;
z-index: $z-index-item-input;
}

:host(.in-item) {
Expand Down
2 changes: 2 additions & 0 deletions core/src/components/textarea/textarea.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
color: var(--color);

font-family: $font-family-base;

z-index: $z-index-item-input;
}

:host(.ion-color) {
Expand Down
1 change: 1 addition & 0 deletions core/src/components/toggle/toggle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
cursor: pointer;
touch-action: none;
user-select: none;
z-index: $z-index-item-input;
}

:host(.toggle-key) input {
Expand Down

0 comments on commit 92ee4ef

Please sign in to comment.