Skip to content

Commit

Permalink
Merge pull request #521 from amansinghbais/#494-autofocus
Browse files Browse the repository at this point in the history
Improved: autofocusing searchbar on the page reload (#494)
  • Loading branch information
ymaheshwari1 authored Nov 13, 2024
2 parents d420758 + d075261 commit 749bc2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/views/CountDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ onIonViewDidEnter(async() => {
previousItem = itemsList.value[0]
await store.dispatch("product/currentProduct", itemsList.value[0])
updateNavigationState(0);
barcodeInput.value?.$el?.setFocus();
})
onIonViewDidLeave(async() => {
Expand Down

0 comments on commit 749bc2a

Please sign in to comment.