Currently, I am utilizing the NgbTypeahead component from ng-bootstrap. The issue I am facing is that when I place the typeahead component within a scrollable element and proceed to scroll down, the position of the dropdown container remains unchanged.
<div style="height: 300px; overflow-y: auto;">
...
<input id="typeahead-template" type="text" class="form-control [(ngModel)]="model"
[ngbTypeahead]="search" [resultTemplate]="rt [inputFormatter]="formatter" />
...
</div>
This could potentially be a minor CSS problem that has eluded my attempts at resolving it.
For further reference, here is the link to the plunkr : http://plnkr.co/edit/rxOhDy72YWlLy9U4Ujcd?p=preview
To observe the issue firsthand, simply input a character into the text box and then proceed to scroll up and down.