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

Native Drag and Drop with Host #70

Open
arnold-graf opened this issue Mar 15, 2021 · 1 comment
Open

Native Drag and Drop with Host #70

arnold-graf opened this issue Mar 15, 2021 · 1 comment

Comments

@arnold-graf
Copy link

First off, thanks for this awesome project: it makes exactly the right trade-offs from where I sit. kudos.

A suggestion: Having the ability to drag files out of a DeskGap window would be amazing. Electron implements this (https://www.electronjs.org/docs/tutorial/native-file-drag-drop), albeit somewhat clunkily: it requires you to specify an absolute path to the file as well as an icon; Passing a JS File type, or an ArrayBuffer (maybe even though dragEvent.dataTransfer.setData('fake-mime/type', Buffer)) would be even handier.

What do you think?

@andymans
Copy link

This is a good suggestion. +1
As there is a "new" DeskGap currently in dev (a Rust-based version) this may be the place to add this type of enhancement. I'd also go for the idea of a user-suggested features list for this new version. There are a few custom features that could optional via "compiler flags" that would help many devs with enterprise requirements.

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

2 participants