Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

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.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants