You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I used the selectFiles function on the firefox or chrome browser on iPhone, I noticed that it will open the camera even if I pass false as capture prop or leave it default. After some attempts, I found that a possible solution is not to set capture attribute of input element at all.
Hi! 👋
Firstly, thanks for your work on this project! 🙂
When I used the
selectFiles
function on the firefox or chrome browser on iPhone, I noticed that it will open the camera even if I passfalse
ascapture
prop or leave it default. After some attempts, I found that a possible solution is not to setcapture
attribute ofinput
element at all.Here is the diff that solved my problem:
Hope this helps!
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: