Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Loading