ngx-scanner
ngx-scanner copied to clipboard
FireFox Ubuntu asks for permission twice
Describe the bug When opening the Preview (and also in our own codebase) the prompt "Will you allow [...] to use your camera" is asked twice (in case the "Remeber my decision" is not checked.)
To Reproduce Steps to reproduce the behavior:
- Go to https://zxing-js.github.io/ngx-scanner/
- Click on Allow
- Wait for the reload
- See the prompt again
Expected behavior I would expect that showing the prompt and clicking "Allow" once would be sufficient, like for example in this demo.
Screenshots n/a
Desktop (please complete the following information):
- OS: Ubuntu 20.04.2 LTS
- Browser FireFox
- Version 86.0 (64-bit)
Smartphone (please complete the following information): n/a
Additional context n/a