mirror of
https://github.com/tenrok/vue-select.git
synced 2026-05-29 05:14:04 +03:00
fix: use click instead of mousedown event, fixes iOS bug (#1248)
Thanks to @PieterWigboldus for originally reporting in #814 and fixing in #815. Co-authored-by: Jeff Sagal <sagalbot@gmail.com>
This commit is contained in:
@@ -109,7 +109,7 @@
|
||||
}"
|
||||
:aria-selected="index === typeAheadPointer ? true : null"
|
||||
@mouseover="selectable(option) ? (typeAheadPointer = index) : null"
|
||||
@mousedown.prevent.stop="selectable(option) ? select(option) : null"
|
||||
@click.prevent.stop="selectable(option) ? select(option) : null"
|
||||
>
|
||||
<slot name="option" v-bind="normalizeOptionForSlot(option)">
|
||||
{{ getOptionLabel(option) }}
|
||||
|
||||
Reference in New Issue
Block a user