vue3-qr-reader icon indicating copy to clipboard operation
vue3-qr-reader copied to clipboard

Can't scan same code more than once

Open RachelYoung94 opened this issue 1 year ago • 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 avatar Jun 06 '23 08:06 RachelYoung94

@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.

basti4557 avatar Jun 19 '23 14:06 basti4557