Skip to content

[desktop_drop] On web, should also handle dragging images from other browser tab #315

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

Open
crizant opened this issue Feb 14, 2024 · 1 comment

Comments

@crizant
Copy link

crizant commented Feb 14, 2024

For example, I have two browser windows opened, one is my web app, another is a website full of images.
Then I drag one of the images into my web app, the onDragDone callback returns an empty list.

I have also tested the main branch, it throws the following error:
Error: Expected a value of type 'Entry', but got one of type 'Null'

Expected behavior

The dropped image should be handled without errors.

Version (please complete the following information):

  • Flutter Version: 3.16.7
  • OS: Chrome browser on MacOS
  • plugin: desktop_drop 0.4.4
@crizant
Copy link
Author

crizant commented Feb 15, 2024

I have opened a pull request: #317

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant