shentao / vue-multiselect

Universal select/multiselect/tagging component for Vue.js
https://vue-multiselect.js.org/
MIT License
6.69k stars 988 forks source link

Property maxHeight did not change anything #1736

Closed Carsak closed 9 months ago

Carsak commented 9 months ago

From the docs maxHeight | Integer | 300 | Sets max-height style value of the dropdown

Reproduction Link

https://jsfiddle.net/ju317xba/

Steps to reproduce

Just add :maxHeight=1500

Expected behaviour

Changed the <div tabindex="-1" class="multiselect__content-wrapper" style="max-height: 1500px; display: none;">

Actual behaviour

<div tabindex="-1" class="multiselect__content-wrapper" style="max-height: 300px; display: none;">

Version "vue-multiselect": "^3.0.0-beta.3",

lehoaibaokg commented 9 months ago

Try using :max-height="50" as kebab case.

mattelen commented 9 months ago

@lehoaibaokg suggestion does the trick here