MatAutocomplete Options not highlighted while scrolling through down arrow

Viewed 292

When I scroll down through the matAutocomplete options through the "down arrow", the options are not highlighted. In other words, its not indicating which option i have currently selected on hovered. It was working previously. Is this because of any version change of angular material?(Current Angular material version is 9). Note: This issue exists in all the matAutocomplete and matSelect in the application If someone could help me solve this issue, it would be great!

1 Answers

May be the problem is inside the style files. I had the same problems and it was because some other styles were overwriting mat-active styles and also inside mat-active class mat-option-text class was not specified at all.

Related