From 14fb417b84769782b28476350a27cfc2e29ed821 Mon Sep 17 00:00:00 2001 From: Nicolas Delbovier Date: Wed, 22 Apr 2026 08:04:16 +0200 Subject: [PATCH] [FIX] shopfloor_mobile_base: prevent virtual keyboard from disappearing after each keystroke --- .../static/wms/src/components/searchbar/searchbar.js | 6 ------ 1 file changed, 6 deletions(-) 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) {