creativetimofficial / ct-material-dashboard-pro-angular

68 stars 35 forks source link

Material autocomplete panel issue #174

Open aceleghin opened 6 years ago

aceleghin commented 6 years ago

I have some autocomplete in my application and I when I open the suggestion panel from the autocomplete and scroll the page this panel it is not fixed to the field like in the material example auto

In the theme:

schermata1

Like you see in the second image the panel is unlinked from the field To reproduce the issue you can try just with the basic example: <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>

drenda commented 6 years ago

Some news about this bug?

alexandru-paduraru commented 6 years ago

@lippomano and @drenda will come back with some news when we get back to office monday/tuesday.

chelaruc commented 6 years ago

Hi @lippomano @drenda! I have tested it and it works in our project. Can you give me more informations?

drenda commented 6 years ago

@chelaruc Did you try the code @lippomano posted? Does it work for you doing what he described?

chelaruc commented 6 years ago

@lippomano @drenda It seems this error is a material issue and not from us. Check this issue and tell me if you have any ideas for fixing that: https://github.com/angular/material2/issues/6341