Skip to content

Add 'startScanning' method to expose externally #14

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Jkssns
Copy link

@Jkssns Jkssns commented Aug 24, 2023

When I obtained the result by scanning the QR code, I presented it on the page and then deleted the result from the page, attempting to scan the same QR code again, but I was unable to obtain the result again.

I have tried the 'init' method, but the dom will be recreated, which is not ideal.

What I am currently doing is to stop scanning after deleting the results (ref. value. stopScanning), and in nextTick (ref. value. startScanning), I can obtain my results.

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

Successfully merging this pull request may close these issues.

1 participant