-
Notifications
You must be signed in to change notification settings - Fork 138
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
Feature request: Enhancements to FileDrop #803
Comments
Hi Natha,
Ok, that sounds like a bug. Do you mean the same filename with different content? Can you give an example how to reproduce that?
Yes, what I'd like to have, is the FileDrop to take optional children, where it would render those, instead of the default implementation. We should then also feed it some kinda of overlay element it should render when the drag over event triggers. What do you think?
Another bug, thanks! Ideally, I'd like to see it go into solara, maybe a new component called FileUpload? cheers, Maarten |
Hi there!
After using FileDrop{Multiple} for a few months, a few limitations keep arising that are difficult to patch:
I ended up implementing a
DropOrInputFile{s}
which combines logic fromFileDrop
andInputFile
widgets to resolve all these points:activator
element passed to the functionInputFile
, which doesn't allow custom widgets and complicates the process of reading file dataMy question is this: If I were to open source the implementation, would you prefer it as a contrib element in a third-party package, new
DropOrInputFile{s}
elements within core solara, or a modification of FileDrop/FileDropMultiple?Source Code for video
Recording.at.2024-09-27.11.19.06.mp4
The text was updated successfully, but these errors were encountered: