Merge pull request #35756 from Rl0007/fix/camera-capture

fix: capture input in Android v14+
This commit is contained in:
Ejaaz Khan 2026-01-08 11:11:31 +05:30 committed by GitHub
commit 6ebed1fa5e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,6 +30,7 @@ function get_file_input() {
input.setAttribute("type", "file");
input.setAttribute("accept", "image/*");
input.setAttribute("multiple", "");
input.setAttribute("capture", "");
// Make sure that the input exists in the DOM
input.classList.add("visually-hidden");