angular-ng-autocomplete icon indicating copy to clipboard operation
angular-ng-autocomplete copied to clipboard

Options opening according to free space

Open LukeSamkharadze opened this issue 3 years ago • 6 comments

While opening autocomplete options, they always open down and sometimes creates scrollbar

image

image

It would be good to open options according to the space available, like this on the top

image

LukeSamkharadze avatar May 14 '21 07:05 LukeSamkharadze

This also can be configurable option

LukeSamkharadze avatar May 14 '21 07:05 LukeSamkharadze

@LukeSamkharadze Can you give me a further explanation what do you mean here exactly?

It would be good to open options according to the space available

gmerabishvili avatar May 14 '21 16:05 gmerabishvili

You mean to open dropdown upward if it's not enough space downward, right?

gmerabishvili avatar May 14 '21 17:05 gmerabishvili

Like we have on material autocomplete, if there is no space down, It opens up

LukeSamkharadze avatar May 14 '21 17:05 LukeSamkharadze

Yes, clear.

gmerabishvili avatar May 14 '21 17:05 gmerabishvili

@gmerabishvili I have the same issue as you describe. Are you found a way to fix it?

Quethzel avatar Jul 22 '22 14:07 Quethzel