vue-qrcode-reader
vue-qrcode-reader copied to clipboard
imageData is null
When using QrcodeDropZone or QrcodeCapture @detect event as described in the api (https://gruhn.github.io/vue-qrcode-reader/api/QrcodeCapture.html#events), imageData inside the returned promise is always null.
In https://github.com/gruhn/vue-qrcode-reader/blob/master/src/misc/scanner.js#L28 its set to null. Is it possible to pass the imageData? This is necessary to display a preview of the uploaded or dragged file.
Copy the api example and console.log(imageData)
- OS: macOS 11.2.2
- Browser Chrome
- Version 91.0