-
-
Notifications
You must be signed in to change notification settings - Fork 975
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
[Feature Request] Ability to stop and start scanning while using Html5QrcodeScanner #285
Comments
This makes sense, would you like the whole UI to reset to beginning in that case? |
Well, if it were to reset the UI then it would be the same as using the "clean" function alongside with re-creating a new scanner. I think a new functionality that would be more useful for this library to have is the ability to not allow further scans but without clearing the entire scanner from the UI. Let's say that the developer wants the scanning to stop after, for example, the first or second or even third scan, but still without closing the scanner and by still showing the video camera feed with the scan box, and after a certain point in the code to be able to have it functionally scanning again. |
So it's expected to work like a |
I want to apologize for misunderstanding the |
I think what you are looking for is |
Yes, this would be a more accurate naming of the functions I intented to request. |
Yes I would love a pause feature. I want to scan an item, show a pop up for the user to confirm the scan, then continue scanning. This is so a single item is not scanned twice and the end user can still keep the scanner open to quickly move through a line |
Support added with version 2.1.0 |
(reopen if there are some issues). |
is this done ? |
Is your feature request related to a problem? Please describe.
Not having the ability to stop the scanning process (without removing/cleaning the entire scanner itself - but simply not letting the scanner scan) and then being able to start scanning again while using Html5QrcodeScanner makes no sense since it is doable (according to the documentation) with Html5Qrcode by using the "start" and "stop" functions.
Describe the solution you'd like
I'd like to have the ability to stop and start scanning while using Html5QrcodeScanner by having the "start" and "stop" functions that are available with Html5Qrcode.
Describe alternatives you've considered
The alternative is to use Html5Qrcode but that means that the developer has to go through rebuilding the entire user interface just to have the "start" and "stop" functions available.
The text was updated successfully, but these errors were encountered: