TC510K scanner input lost when selecting and deselecting input field

A simple web app page that logs every time it takes input from the tc510k scanner (configured to give carriage return as action key)

<!DOCTYPE html><html>  <head>       <script src="lib/jquery/jquery.min.js"></script>  </head>  <body>  <script>        $(document).ready(function () {

             $(document).keypress(function (e) {

                  console.log("input");              });        });   </script>  <form action="">        Form example name: <input type="text" name="fname"><br>  </form>  </body></html>

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?

Anonymous (not verified)
Looks like a duplication of
Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anders Grandt
Same Issue

Did you find any solution to this?

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments