I'm creating a barcode scanning app which will use Bluetooth opticons to scan a barcode and store locally the id that this contains.
The scanner is simply just a keyboard emulator but a clever feature for the iPad is that it hides the keyboard for you.
At some point this action is causing my form field to lose focus despite me putting in listeners all over to catch blur from the field and re focus it, blur from the container and then refocus that.
The idea is that quick scanning can occur and store the id's scanned so this loss of field focus slows down the focus of the app. If i type normally using the ipad keyboard this is fast and refocus on the field once scanning has occured.
I have set an onkeyup event listener which listens and saves at the point that the form value is 7 digits long. This is all fine, this saves and also refocus on my field so my theory is that there is something going on with the special keyboard hiding feature that these scanners provide.
I just wanted to see if anyone has experienced anything similar at all and found a solution or can think of ANYTHING at all that i could try as i'm running out of ideas.
Thanks in advance