Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(autocomplete): fixes z-index issues with autocomplete menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Messerle committed Jul 7, 2015
1 parent daa2c85 commit d75b592
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/components/autocomplete/autocomplete.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ md-autocomplete {
position: relative;
overflow: visible;
height: 40px;
&.md-menu-showing {
z-index: $z-index-backdrop + 1;
}
md-progress-linear[md-mode=indeterminate] {
position: absolute;
bottom: 0; left: 0; width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion src/components/autocomplete/js/autocompleteDirective.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function MdAutocomplete ($mdTheming, $mdUtil) {
return '\
<md-autocomplete-wrap\
layout="row"\
ng-class="{ \'md-whiteframe-z1\': !floatingLabel }"\
ng-class="{ \'md-whiteframe-z1\': !floatingLabel, \'md-menu-showing\': !$mdAutocompleteCtrl.hidden }"\
role="listbox">\
' + getInputElement() + '\
<md-progress-linear\
Expand Down

0 comments on commit d75b592

Please sign in to comment.