Scanner file<->camera link must be hidden when the camera initialization takes some time.
I tried on a laptop that takes around 10sec to initialize its builtin webcam and I click on the link while it's initializing the camera
html5-qrcode will show the camera canvas on the file UI which messing the whole object....
So the solution would be to hide the link until the video canvas is ready....
Scanner file<->camera link must be hidden when the camera initialization takes some time. I tried on a laptop that takes around 10sec to initialize its builtin webcam and I click on the link while it's initializing the camera html5-qrcode will show the camera canvas on the file UI which messing the whole object.... So the solution would be to hide the link until the video canvas is ready....