-
Notifications
You must be signed in to change notification settings - Fork 720
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
How to pick files or directory? #1105
Comments
This issue is stale because it has been open for 14 days with no activity. |
Any updates? |
Which platform are you trying this on? |
@miguelpruivo I have the same use-case as OP and can confirm that exactly what they described happens when using macOS (Monterey 12.6). With |
This issue is stale because it has been open for 14 days with no activity. |
This issue is stale because it has been open for 14 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
up |
@miguelpruivo can you reopen this issue? |
This was immediately the first thing i realized was missing. Need a way to select a mixture of multiple files and folders in the same picker window. The native picker on macOS has support for this at least. Without this feature, opening av picker becomes a much worse experience, compared to drag and drop. But some people are not tech savvy enough to perform a drop and drop, especially not on a small laptop where cmd+tab needs to be involved at the same time when dragging. 🤞🏻 |
![]() On MacOS with this plugin, it's impossible to select files and folders at the same time @miguelpruivo |
@orestesgaolin can we add a function for "selecting files and folders" implemented only in MacOS for now? That way we don't break the API, just add a function. What are your thoughts on this? Also, do you know how to disable the closing bot on this issue? |
I know we can use
pickFiles()
to open file picker andgetDirectoryPath()
to choose a directory but my use case allows user to select files or directory or both at the same time. How can I achieve this with this plugin?For example, I also implemented drag and drop files support using desktop_drop package which supports both files and directory dropping. So when I drop things, it gives me
List<XFile>
where can contain directories if I have selected any. I can't do this with this plugin. A lot of native apps does this.I have tested this on MacOS.
pickFiles()
doesn't allow selecting directories too. Only files.I'd like to allow both at the same time. Can you please help?
The text was updated successfully, but these errors were encountered: