3

(I reproduced my issue here: https://plnkr.co/QvEWjhJhbsghy1OD)

The <ng-select> drop down list of options is not displayed "over' the <ngx-datatable> row, it seems cut by the cell's height, making it pretty useless.

cut off ng-select

A regular <select> works fine though, I can see all options.

working regular select

How can I make the ng-select works as expected?

dstj
  • 4,800
  • 2
  • 39
  • 61

1 Answers1

12

The solution is to use the ng-select attribute appendTo="body" as following:

<ng-select [searchable]="false" placeholder="-- choose --" appendTo="body">
   <ng-option>Option 1</ng-option>
   ...
dstj
  • 4,800
  • 2
  • 39
  • 61