shentao / vue-multiselect

Universal select/multiselect/tagging component for Vue.js

Home Page:https://vue-multiselect.js.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Property maxHeight did not change anything

Carsak opened this issue · comments

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",

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

commented

@lehoaibaokg suggestion does the trick here