open-prices-frontend icon indicating copy to clipboard operation
open-prices-frontend copied to clipboard

Bug: the site gets stuck if you don't give camera permission to the browser

Open fbtw opened this issue 11 months ago • 2 comments

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:

  1. In the add product page, Click on scan barcode button inside any of the 3 options
  2. The webapp needs the permission but gets denied (for example the browser is defaulted to deny the camera)
  3. 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

fbtw avatar Mar 06 '24 00:03 fbtw

duplicate with #309 ?

raphodn avatar Mar 06 '24 13:03 raphodn

@fbtw can you test again ? I just deployed the fix in prod today :)

raphodn avatar Mar 06 '24 13:03 raphodn