This is my HTML code:
<div class="form-group">
<label class='control-label col-md-4' for='id_paymentCurrency'>{{'PAYMENT_CURRENCY' | translate}}</label>
<div class='col-md-4'>
<div id="scrollable-dropdown-menu">
<input type="text" class="form-control" data-trim-value="false" ng-trim="false" id ='id_paymentCurrency' ng-model="vm.data.paymentCurrency" typeahead-append-to-body="true" required
typeahead-editable="false"
uib-typeahead="currency.code for currency in vm.getCurrencies($viewValue)"ng-disabled="disabled" />
</div>
</div>
</div>
Here is my CSS:
#scrollable-dropdown-menu .tt-menu {
max-height: 150px;
overflow-y: auto;
}
Despite using AngularJS 1.x and the typeahead from angular-bootsrap, I am struggling to display the scrollbar.
You can access a demo of the issue here: http://fiddle.jshell.net/H7LA4/46/