Caleydo / mothertable

Mothertable Project @JKU-ICG 💬 @katush @mijar
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

The select2 popup is not user-friendly when having less space #330

Closed mijar closed 7 years ago

mijar commented 7 years ago

Sometimes the popup appeared above the textbox, but mostly it stayed as it is in the screenshot. It is then really hard to select something that you don't know is there...maybe a scrollbar in the popup would be enough

image

sgratzl commented 7 years ago

I reduced the default height of the selection box and made the max-height dependent on the availiable screen height.

re above vs below -> select2 is smart enough if the whole thing fits above but not below it shows it above. However, if the box fits at neither place fully it will go for below.

thinkh commented 7 years ago

Thanks @sgratzl. It's working now.