diff --git a/src/html5-qrcode-scanner.ts b/src/html5-qrcode-scanner.ts index 028262fe..940d72a8 100644 --- a/src/html5-qrcode-scanner.ts +++ b/src/html5-qrcode-scanner.ts @@ -722,6 +722,9 @@ export class Html5QrcodeScanner { if (!zoomCapability.isSupported()) { return; } + if(!zoomCapability.step()){ + return; + } // Supported. cameraZoomUi.setOnCameraZoomValueChangeCallback((zoomValue) => {