Vue-multiselect: Is there a way to disable the new behaviour where the "dropdown" becomes a "dropup"?

Created on 27 Feb 2017  路  12Comments  路  Source: shentao/vue-multiselect

I've noticed that in the new beta the dropdown actually goes up on short devices. This isn't helpful because there's actually about 5px of room above the multiselect box so almost all of the "dropup" is hidden.

I just want it to dropdown.

2.0 enhancement

Most helpful comment

Planning to introduce this in the next beta.

All 12 comments

Oh, my bad. Didn鈥檛 thought about such case, sorry! I will introduce a prop for controlling this behavior. Thanks for noticing!

My pleasure. I'll await your fix.

Shouldn't this be considered a bug since the behaviour I'm seeing is dropup where there is no space (essentially you can't see it) when there is about half a phone screen worth of space underneath? It also breaks the rule of least surprise.

I don't think we can really call this an "enhancement".

We started testing the app on mobile phones and it became a problem. We use vue-multiselect on a lot of pages and that became unusable. It is hard to interact with dropup. I think the best way for mobiles would be to make the dropdown after clicking on it a full-screen with the cross to close it and probably the search field. But for now is it possible to add an option to disable dropup in next beta?

Planning to introduce this in the next beta.

did you do anything there yet? Having the same problem.
ty

Is this still going to be implemented?

Implemented. Will be available in the next release.

I can't find a prop for this in the docs. How was it named?

open-direction="bottom"

Hmm... I'm trying with open-direction="up" and the options still opens below the select.

multiselect

Oh sorry, should have mentioned it. The value should be top or above.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

focussing picture focussing  路  3Comments

andreasvirkus picture andreasvirkus  路  3Comments

xereda picture xereda  路  4Comments

dmitov picture dmitov  路  4Comments

shsmad picture shsmad  路  3Comments