Skip to content

Commit

Permalink
blur on scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
AWtnb committed Oct 25, 2024
1 parent 7149cd0 commit 5296c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Pickup/CountRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const hasNombre = computed(() => 0 < counter.value);
<template>
<tr :class="{ focused: isFocused }">
<td class="nombre" :class="{ zeroitem: !hasNombre }">{{ nombre }}</td>
<td class="ui"><input type="number" min="0" v-model="counter" @input="onInput" @keyup.right="toNext" @keyup.left="toPrevious" :tabindex="tabindex" @focus="isFocused = true" @blur="isFocused = false" /></td>
<td class="ui"><input type="number" min="0" v-model="counter" @input="onInput" @keyup.right="toNext" @keyup.left="toPrevious" :tabindex="tabindex" @focus="isFocused = true" @blur="isFocused = false" @wheel="$event.target.blur()" /></td>
</tr>
</template>

Expand Down

0 comments on commit 5296c3b

Please sign in to comment.