2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-19 09:50:33 +03:00

fix: don't stop mousedown event on no-option slot (#1117)

This commit is contained in:
Bruno Dias
2020-03-19 13:10:08 -03:00
committed by GitHub
parent ca4f3c4017
commit 4c7e1e0426
+1 -1
View File
@@ -70,7 +70,7 @@
{{ getOptionLabel(option) }} {{ getOptionLabel(option) }}
</slot> </slot>
</li> </li>
<li v-if="filteredOptions.length === 0" class="vs__no-options" @mousedown.stop=""> <li v-if="filteredOptions.length === 0" class="vs__no-options">
<slot name="no-options" v-bind="scope.noOptions">Sorry, no matching options.</slot> <slot name="no-options" v-bind="scope.noOptions">Sorry, no matching options.</slot>
</li> </li>
<slot name="list-footer" v-bind="scope.listFooter" /> <slot name="list-footer" v-bind="scope.listFooter" />