I have the following code in Angular 1.X:
<md-input-container style="margin:0; overflow-y: hidden !important;">
<label>STATUS</label>
<md-select style="overflow-y: hidden !important;" ng-model="query.filter.status">
<md-option ng-repeat="status in statuses" ng-value="
{{status.key}}"><span>{{status.val}}</span></md-option>
</md-select>
</md-input-container>
Currently when the element is selected a scrolling list of 7 elements is opened. I have already tried putting max-width
high and overflow-y: hidden;
everywhere and there is no way.
I haven't found anything in the documentation to disable scrolling.
Does anyone know what I'm missing?
You have to override the max-heights in the .css that are predefined by AngularJS (Angular 1) as follows:
it should be said that without it you will
!important
never rewrite the values.Try this: