diff --git a/src/lib/autocomplete/autocomplete.scss b/src/lib/autocomplete/autocomplete.scss index 8a80d634f54..f677703ba2b 100644 --- a/src/lib/autocomplete/autocomplete.scss +++ b/src/lib/autocomplete/autocomplete.scss @@ -32,6 +32,12 @@ $mat-autocomplete-panel-border-radius: 4px !default; border-top-right-radius: $mat-autocomplete-panel-border-radius; } + // We need to offset horizontal dividers by their height, because + // they throw off the keyboard navigation inside the panel. + .mat-divider-horizontal { + margin-top: -1px; + } + @include cdk-high-contrast { outline: solid 1px; }