sagalbot / vue-select

Everything you wish the HTML <select> element could do, wrapped up into a lightweight, extensible Vue component.
https://vue-select.org
MIT License
4.63k stars 1.33k forks source link

Add new slot as container of options #887

Open matjaz321 opened 5 years ago

matjaz321 commented 5 years ago

Is your feature request related to a problem? Please describe. I need to implement Vue perfect scrollbar in the dropdown of vue-select, but it currently doesn't support slot which would behave as container of all slots.

Describe the solution you'd like Add new slot as container all options

seyfer commented 5 years ago

Yes, currently it is not possible to wrap the list of options into any other container via slot. But we need it for use of vue-perfect-scrollbar, for example.

So we need this code <ul ref="dropdownMenu" transformed into slot or wrapped into it

doutatsu commented 2 years ago

@sagalbot Any chance this will get released anytime soon? Everything about the library has been great, but this is the last crucial bit that I need to fully migrate

doutatsu commented 1 year ago

Bumping this again

romeomihalovics commented 1 year ago

You can find a workaround for this issue here