Skip to content

File input isn't available #541

Closed Answered by yoavniran
ted-dino asked this question in Q&A
Aug 14, 2023 · 3 comments · 6 replies
Discussion options

You must be logged in to vote

Hey @ted-dino
I hope you managed to sort this out. I missed your reply here.
Indeed, the issue is most likely like you wrote, putting the Uploady in the popover is causing the file input to be unmounted when the popover is closed.

Its not a good practice to re-render the Uploady provider and therefore recommended to place it above parts of the app the are likely to be unmounted.
The upload component itself, button, d&d, etc. you can re-render as needed, of course.

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@ted-dino
Comment options

@yoavniran
Comment options

@ted-dino
Comment options

@yoavniran
Comment options

Answer selected by ted-dino
@ted-dino
Comment options

@yoavniran
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants