Vue-select: Using Vue Select Inside a Modal

Created on 20 Feb 2017  路  5Comments  路  Source: sagalbot/vue-select

print2

Inside the Modal , when I click in the select , it shows the scrow of the page .

support ui

Most helpful comment

You can change the max height directly, with the max-height prop:

<v-select max-height="200px"></v-select>

All 5 comments

This is going to be difficult for me to replicate. Can you find the root of the issue?

Hi @sagalbot ..
I'm having this issue also.
vue-select

But my problem is that, cannot scroll it and the list is cutoff by the modal.
I'm guess perhaps its due to z-index maybe?
For more information, I'm using jQuery NiftyModal.

Thanks in advance

After debugging and try many solutions for the issue. I manage to solve my issue. It's due to the max-height set for the class .dropdown menu is 400px. And the .modal-content is having overflow:hidden.

So as temporary solution (not sure if its proper or not), I'm changing it using jQuery to style the max-height to lesser value and set .modal-content overflow to initial.

Thanks

You can change the max height directly, with the max-height prop:

<v-select max-height="200px"></v-select>

Good, I tried the max height but still the same, any help?

vue-js-modal-v-select

Update

I got the modal to expand down when I press v-select

repair-vue-js-modal-v-select

asdasdsa

Was this page helpful?
0 / 5 - 0 ratings

Related issues

FrancescoMussi picture FrancescoMussi  路  3Comments

manjunath-coachthem picture manjunath-coachthem  路  3Comments

gilles6 picture gilles6  路  3Comments

davidalvarezr picture davidalvarezr  路  3Comments

edalzell picture edalzell  路  3Comments