i want to disable scroll bar for md-autocomplete autosuggestion drop down.Is there any css or attribute way to do it?
Give this a try. overflow-y: hidden;
I could disable the vertical scrollbar by adding a new class to global styles.scss :
.mat-autocomplete-panel.max-height-panel { max-height: 100%; }
... and set it to the Material component using the classList directive:
<mat-autocomplete #auto="matAutocomplete" class="max-height-panel" classList="max-height-panel" panelWidth="300px">
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.