Can't scan same code more than once
Opened this issue · 1 comments
RachelYoung94 commented
Please see the below functionality for vue-qrcode-reader
You can change the camera prop to reset the camera to allow scanning same qr code more than once, whereas cannot with vue3-qr-reader.
https://gruhn.github.io/vue-qrcode-reader/demos/ScanSameQrcodeMoreThanOnce.html
basti4557 commented
@RachelYoung94 A workaround is to destroy the complete qr-stream when the camera is off <qr-stream :camera="camera" @decode="onDecode" @init="onInit" v-if="!cameraDestroyed && camera !== 'off'">
But thats indeed not a proper solution.