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

Add file property to drag data #992

Merged
merged 12 commits into from Jan 8, 2024

Conversation

ealmloff
Copy link
Member

Closes #986

Adds a files property to the drag event that contains the file engine from FormData.

Note: The example will not work until #987 is merged

@ealmloff ealmloff marked this pull request as draft July 11, 2023 22:55
@ealmloff ealmloff marked this pull request as ready for review July 11, 2023 23:03
@ealmloff
Copy link
Member Author

Note: Both the web and desktop implementation read the file in javascript (unlike the desktop file picker which reads the file in rust)

@ealmloff ealmloff added this to the 0.5 Release milestone Oct 10, 2023
@jkelleyrtp jkelleyrtp merged commit 9340558 into DioxusLabs:master Jan 8, 2024
0 of 3 checks passed
@ealmloff ealmloff deleted the add-file-data-drag-event branch January 8, 2024 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking This is a breaking change enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DragEvent should have data about the dragged files, just like FormEvent
2 participants