Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regular keyboard key down fires my onScan event. #39

Open
savageqm opened this issue Sep 14, 2023 · 1 comment
Open

regular keyboard key down fires my onScan event. #39

savageqm opened this issue Sep 14, 2023 · 1 comment

Comments

@savageqm
Copy link

I've observed that the OnScan event is triggered whenever I press any keys on my keyboard. Is there a way to ensure that this event is only triggered when input originates exclusively from the barcode scanner? Unfortunately, I can't apply a prefix to my scanner since multiple different barcode scanners will be in use.

I have the following options
reactToKeyDown : false,
ignoreIfFocusOn: ['input'],
captureEvents: false,
minLength: 1,

any suggestions?

@shchedrin
Copy link

Try to increase minLength

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants