Vue-multiselect: Vue multiselect inside of element with scrollbar

Created on 10 May 2018  Â·  8Comments  Â·  Source: shentao/vue-multiselect

Hi, firstly thank you for a great plugin, it's really great.

I found one issue with using vue vue-multiselect inside of elements with overflow:auto. After to expand, vue multiselect is still inside of the element with overflow auto, which is not how the standard <select> works.

Fiddle: https://jsfiddle.net/jqofkzxc/3078/

Expected behaviour: After to expand the vue-multiselect (.multiselect__content-wrapper) shouldn't cause the .modal-body to expand.

Possible fix: This could be achieved by setting it outside of element with overflow (.modal-body in that case), and using position absolute + dynamically counted left/top css.

Why? It would make it much easier to use it in replacement to standard