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

Bug experienced at the demo #20

Open
beruic opened this issue Oct 13, 2021 · 2 comments
Open

Bug experienced at the demo #20

beruic opened this issue Oct 13, 2021 · 2 comments

Comments

@beruic
Copy link

beruic commented Oct 13, 2021

To try out the demo at https://codesandbox.io/s/vue-barcode-reader-demo-guj3f, I image googled "barcode" to try put the demo on a bunch of barcodes.

After scanning a lot of barcodes it suddenly gets stuck on one of them and keeps scanning that. It can scan other codes, but it will keep adding messages to the console about scanning that one it has gotten stuck on.

@lalmat
Copy link

lalmat commented May 3, 2022

Ok, can you give us the barcode ? It may be in a specific format that Zxing is unable to decode.

You can find what formats can be decoded on the zxing-js github : https://github.com/zxing-js/library#supported-formats

@beruic
Copy link
Author

beruic commented May 30, 2022

As I wrote, I image googled "barcode". The issue is not with a specific barcode format, as it doesn't seem to get stuck on any specific barcode. You can scan the same few barcodes for some time, and that should reproduce the error.

I just verified it with this search: https://www.google.com/search?q=barcode&sxsrf=ALiCzsZicu4JzzmH0ZRNhZxj4lB3Px4R_Q:1653903481677&source=lnms&tbm=isch&sa=X&ved=2ahUKEwjIi5LM9ob4AhVOt6QKHfP-BzIQ_AUoAXoECAIQAw&biw=1920&bih=1127
, by just scanning through them, and at some point it got stuck on one code that is just keeps repeatedly firing events for that code at a rate of about 500 ms per code.

I should mention that the browser I am using is the newset Chrome.

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