bitpay / cordova-plugin-qrscanner

A fast, energy efficient, highly-configurable QR code scanner for Cordova apps and the browser.
MIT License
567 stars 773 forks source link

Camera preview has a gray layer #377

Closed PetePrattis closed 2 years ago

PetePrattis commented 2 years ago

I asked the same question here because it must be an issue of the framework I use. I build a cordova app using the extjs javascript framework.

My problem is that after I hide the app's viewport and the camera preview is shown normally, I then show a panel that has a transparent image as background and some buttons & titlebar. This new component adds a gray layer to the camera preview. Changing the opacity either hides the whole panel or does nothing.

It's a long shot, but if anyone that uses extjs or a similar framework has been through a similar situation, could share a solution or other tips, I would really appreciate it.

This is how the camera preview is: https://i.stack.imgur.com/rATXz.jpg

PetePrattis commented 2 years ago

Extjs config modal: false will solve my framework issue