Is it possible to programatically open the file picker when using FileUploader #1650
Unanswered
malimccalla
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I don't think this is possible or something we're really interested in exposing the ability to do. The user should have to trigger the native file picker dialog with an action (click, enter or space key when focused) - do you have a CodeSandbox that can demonstrate the use-case for this UX? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need the file picker dialogue to appear when
FileUploader
is rendered for the first time. The underlying input element doesn't appear to have a consistent ID I can use to do this. I have also tried adding a react ref to the component but having no luck with that eitherThanks!
Beta Was this translation helpful? Give feedback.
All reactions