HJ29/vue3-qr-reader

Can't scan same code more than once

Opened this issue · 1 comments

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.