Skip to content

Commit

Permalink
fix: z-index for ng-outer-menu (#105)
Browse files Browse the repository at this point in the history
Changed the z-index of ng-outer-menu to 3, so that it remains always visible when opened on top of a .input-group.form-control element.  .input-group .form-control has a z-index of 2 and thus was visible on top of the dropdown
  • Loading branch information
noejon authored and anjmao committed Oct 25, 2017
1 parent cbdd04a commit 4b01b13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ng-select/ng-select.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ ng-select {
position: absolute;
top: 100%;
width: 100%;
z-index: 1;
z-index: 3;
-webkit-overflow-scrolling: touch;
}
.ng-menu {
Expand Down Expand Up @@ -307,4 +307,4 @@ ng-select {
}
}
}
}
}

0 comments on commit 4b01b13

Please sign in to comment.