NgbTypeahead component doesn't scroll inside a scrollable component
I am using NgbTypeahead component of ng-bootstrap. My problem is, when I put the typeahead component inside a scrollable component and make a scroll down, the position of dropdown container doesn't change. <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> It could be a small CSS issue but I could not find the solution. Here is the plunkr : http://plnkr.co/edit/rxOhDy72YWlLy9U4Ujcd?p=preview Type in a character in the text