I have created an typeahead on my input using angularjs ui-bootstrap. Code as below:
<div id="scrollable-dropdown-menu">
<input type="text" name="uName" ng-model="uName" autocomplete="off"
required class="form-control input-medium" placeholder="Enter user
name..." typeahead="uName.uName for uName in getUserNames($viewValue)"
typeahead-on-select='onSelect($item, $model, $label)'/>
</div>
I wanted to add a scroll to this so I have wrapped it around a div and added css to achieve scrolling.
The issue is if I start tying something and use my keyboards down arrow on the scroll I cant see the selected item ie the scroll does not move with the arrow key. I have to use my mouse to scrill. I believe its because I am setting a height of the div.
I have created a demo to show the issue as: https://codepen.io/kaka1981/pen/YOvYRY
Any solution for making this work ?