ui-select icon indicating copy to clipboard operation
ui-select copied to clipboard

Dropdown should open UP instead of DOWN, when there is not enough space to render fully

Open slavinskas opened this issue 12 years ago • 48 comments

When there is not enough space for dropdown to render fully, it should be rendered to the top of the element, as it is default behaviour for select2.

slavinskas avatar Aug 07 '14 16:08 slavinskas

@slavinskas can explain a little more about this? maybe a picture if its something graphical that you refer to

dimirc avatar Aug 08 '14 18:08 dimirc

@dimirc similar to when you open a context window in chrome with right click. The direction it builds from the location of your mouse differs based on the draw height and the amount of space to the edge of the screen. If you do not have any space on a screen or the select is at the bottom of the page it should draw the elements up instead of down. is my understanding correct @slavinskas ?

zackarychapple avatar Aug 08 '14 18:08 zackarychapple

@zackarychapple yes, it's exactly what I meant.

slavinskas avatar Aug 09 '14 09:08 slavinskas

I would like to expand on the requirement to also offset right and left as a stretch goal.

zackarychapple avatar Aug 09 '14 12:08 zackarychapple

+1 for this feature, how far is the implementation?

burza avatar Oct 02 '14 15:10 burza

+1

On Thursday, October 2, 2014, Gregor Swatek [email protected] wrote:

+1 for this feature, how far is the implementation?

— Reply to this email directly or view it on GitHub https://github.com/angular-ui/ui-select/issues/148#issuecomment-57647159 .

DineshkumarT avatar Oct 02 '14 15:10 DineshkumarT

+1 on this, this is an extremely helpful feature.

cheahkhing avatar Oct 03 '14 06:10 cheahkhing

+1

meirb avatar Oct 20 '14 07:10 meirb

+1

edsioufi avatar Nov 02 '14 23:11 edsioufi

+1

Maxyme avatar Nov 18 '14 12:11 Maxyme

+1

Any progress?

+1

ninjasun avatar Dec 12 '14 10:12 ninjasun

+1

kedarbe avatar Jan 15 '15 14:01 kedarbe

+1 - I would enjoy being able to also force it to render upwards always, if possible.

seiyria avatar Jan 21 '15 16:01 seiyria

+1

onemenny avatar Jan 25 '15 06:01 onemenny

+1

nameetpai avatar Feb 02 '15 18:02 nameetpai

+1

andywunderlich avatar Feb 24 '15 10:02 andywunderlich

+1

wald-tq avatar Feb 24 '15 10:02 wald-tq

This would definitely be nice to have.

This could also be a solution for the list falls behind overflow:hidden or overflow:auto containers #591. "move drop down to base of to stop it from being cut off (drop.js) #591"

FFelling avatar Feb 26 '15 12:02 FFelling

Might want to update the milestone here if this hasn't been addressed yet.

seiyria avatar Mar 19 '15 19:03 seiyria