open-prices-frontend
open-prices-frontend copied to clipboard
Bug: the site gets stuck if you don't give camera permission to the browser
What
As the title suggest if the web app ask for camera permission and it's denied the site gets stuck inside the camera permission dialog
Steps to reproduce the behavior:
- In the add product page, Click on scan barcode button inside any of the 3 options
- The webapp needs the permission but gets denied (for example the browser is defaulted to deny the camera)
- The barcode dialog stays open and can't be dismissed
Expected behavior
Close the scan barcode dialog (using the X or clicking outside) and the dialog is dismissed, or go back and the dialog is dismissed
Platform (Desktop, Mobile, Hunger Games)
- Platform: all
duplicate with #309 ?
@fbtw can you test again ? I just deployed the fix in prod today :)