Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document that File.Select.file/files' Mime type argument might not be respected #30

Open
jjant opened this issue Dec 1, 2021 · 0 comments

Comments

@jjant
Copy link

jjant commented Dec 1, 2021

Basically, the accept attribute doesn't really work that well (setting it to just image/png will still let iOS users pick any image/* from their gallery, and will let android users pick videos).


I think the docs for these functions should do either or both of:

  • Explain that it uses accept under the hood (I had to read the source to find that out)
  • Explain that this is not a reliable way to filter file types
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant