TC510K scanner input lost when selecting and deselecting input field

C Carl Klavus 3 years 7 months ago
3 2 0

A simple web app page that logs every time it takes input from the tc510k scanner (configured to give carriage return as action key)
                       $(document).ready(function () {
             $(document).keypress(function (e) {
                  console.log("input");              });        });             Form example name:    
Steps to reproduce.
1) Open browser and go to webpage. (tested with default browser, chrome and app webview)
2) Scan barcode -> console will log "input" (as expected)3) Manually select input field -> selected input field
4) Manually click outside input field -> deselected input field
5) scan barcode -> NO LOG (should log "input")
No input comes from the scanner until user selects something else on the mobile device and then go back to the webbrowser.
 
Any idea why this happends?

CONTACT
Can’t find what you’re looking for?