fix(ui): show native camera/gallery picker on mobile photo capture
Remove capture="environment" from the file input so mobile browsers present the OS-native action sheet instead of opening the camera directly.
This commit is contained in:
parent
8410b46a11
commit
a3cfc22f09
1 changed files with 0 additions and 1 deletions
|
|
@ -3,7 +3,6 @@ customElements.define("brew-photo-capture", class extends HTMLElement {
|
|||
const input = document.createElement("input");
|
||||
input.type = "file";
|
||||
input.accept = "image/*";
|
||||
input.capture = "environment";
|
||||
input.hidden = true;
|
||||
this.appendChild(input);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue