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.62k stars 1.33k forks source link

click event not working on a button inside no-options slot #1814

Open tolnaiz opened 6 months ago

tolnaiz commented 6 months ago

Describe the bug The title pretty much sums up, but it can be seen on the example below

Reproduction Link https://codepen.io/tolnaiz/pen/xxBVvNK

Expected behavior click event should fire

MrPillBoxHat commented 3 weeks ago

image

It kind of works with focus/focusin but it seems to be called twice. I had to change the options to an empty array to get the button to show in the dropdown.