Clint William Theron
Clint William Theron

Reputation: 155

Nebular's dropdown does not scroll with the page

I'm trying to implement a auto complete, dropdown element, in an angular app. The auto complete works just fine but when I scroll down, on the page, the auto complete does not scroll up with the page. The image below depict my scenario. The left side shows when I start typing and the right side shows when I scroll down on the page:

auto complete scroll image, not working

The correct behavior should show that the auto complete dropdown element should be positioned fixed right below the input element. I've used this nebular NbAutocompleteDirective.

I've tried to set the parent container's position to relative but that also did not work. Does anyone have a resolution to this problem?

Here is a screenshot of the nebular version I'm using (incase it's relevant):

angular and nebular version - screenshot

Upvotes: 0

Views: 397

Answers (1)

Clint William Theron
Clint William Theron

Reputation: 155

I went with angular-ng-autocomplete

It's much better.

Upvotes: 0

Related Questions