diff --git a/shopfloor_mobile_base/static/wms/src/components/searchbar/searchbar.js b/shopfloor_mobile_base/static/wms/src/components/searchbar/searchbar.js index 381f6cb8514..6bab3977bf5 100644 --- a/shopfloor_mobile_base/static/wms/src/components/searchbar/searchbar.js +++ b/shopfloor_mobile_base/static/wms/src/components/searchbar/searchbar.js @@ -116,13 +116,7 @@ export var Searchbar = Vue.component("searchbar", { methods: { capture_focus: function () { if (this.autofocus && this.$refs.searchbar) { - // We need to use both "focus" and "click" in combination - // to make sure that the searchbar is fully focused and ready for scanning - // without having to manually tap on it. - // Using simply one or the other is not enough - // to always be able to input any scanned text. this.$refs.searchbar.focus(); - this.$refs.searchbar.click(); } }, show_virtual_keyboard: function (elem) {