I am trying to use angular material matAutocomplete mat-options in bootstrap Navbar, here is my code
<li class="nav-item">
<form class="example-form">
<mat-form-field class="example-full-width">
<input type="text" placeholder="Pick one" aria-label="Number" matInput [formControl]="myControl" [matAutocomplete]="auto">
<mat-autocomplete #auto="matAutocomplete">
<mat-option *ngFor="let option of options" [value]="option">
{{option}}
</mat-option>
</mat-autocomplete>
</mat-form-field>
</form>
</li>

You can see in snapshot first item of mat-options is under navbar. autocomplete example is working fine but suggestion box is appearing under the bootstrap how can I make mat-option on top of the navbar.
adding class .mat-option and z-index css property has no effect.
.mat-option{
z-index: 999;
}
Thanks in advance