yudielcurbelo / react-qr-scanner

A library to scan QR Codes in react.
https://yudielcurbelo.github.io/react-qr-scanner/
MIT License
245 stars 38 forks source link

Incorrect behavior in Firefox #75

Closed Nurvive closed 1 month ago

Nurvive commented 2 months ago

I have a problem in 2.0.6 version. Same scanner in chrome and in firefox has different behavior. <Scanner formats={props.isBarcodeField ? BARCODE_FORMATS : DEFAULT_FORMATS} scanDelay={1000} onScan={(decodedResult) => { handleResolve(decodedResult[0].rawValue); }} onError={noop} styles={{ video: {height: 300}, container: {width: 300, height: 300}, finderBorder: 20, }} constraints={{ deviceId: props.deviceId, }} />

image Firefox

image Chrome

stale[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.