Commit d20b4e1a73a05029a5125bb320a6e4a062b6552e

Authored by Sergio Crisostomo
1 parent 5c846d28

detect touched so touch devices can also be selected

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
src/components/select/option.vue
... ... @@ -2,6 +2,7 @@
2 2 <li
3 3 :class="classes"
4 4 @click.stop="select"
  5 + @touchend.stop="select"
5 6 @mousedown.prevent
6 7 @touchstart.prevent
7 8 ><slot>{{ showLabel }}</slot></li>
... ...