gruhn / vue-qrcode-reader

A set of Vue.js components for detecting and decoding QR codes.
https://gruhn.github.io/vue-qrcode-reader
MIT License
2.03k stars 330 forks source link

fix(FullDemo): hidden device ID dropdown #434

Closed gruhn closed 1 month ago

gruhn commented 1 month ago

When listing available cameras with enumerateDevices the label field is an empty string in some browsers. In that case, the dropdown to select a camera on the "full demo" is invisible because all selectable options are empty strings. Fixing that by also including the device ID (not just the label) so some text is always rendered.

Also added logging statements for all kinds of state transitions.

github-actions[bot] commented 1 month ago

PR Preview Action v1.4.7 :---: Preview removed because the pull request was closed. 2024-05-21 18:33 UTC

github-actions[bot] commented 1 month ago

:tada: This PR is included in version 5.5.5 :tada:

The release is available on:

Your semantic-release bot :package::rocket: