vue3-qr-reader
vue3-qr-reader copied to clipboard
Can't scan same code more than once
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
@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.