News for hackers. Stuff that matters.
Re:DFlex – JavaScript framework for drag and drop apps by cornedor on Thursday September 15, 2022 @12:18PM (#32854271)
HTML drag and drop does have a few powerful features that cannot be done otherwise. You can move an item outside your app into, for example, a native photo library app. Or even on iPhone, drag/drop an item to iMessage and send it to someone as an image or piece of text. Something that also doesn't work in DFlex is scrolling through a page while holding an item, something that also "just works" with native HTML drag and drop.
Re:DFlex – JavaScript framework for drag and drop apps by jimmy2020 on Thursday September 15, 2022 @12:27PM (#32854405)
Sorry for not updating the demo included on the site. But scrolling is working in the newer version. Also, DFlex is not meant for uploading assets to the browser otherwise, it's the future of interactive apps when elements can be transformed and positioned smoothly. This is what I am trying to achieve with DFlex that's why I spent so much time figuring out the optimal solution for reconciling a transformed element instead of adding a layer to html5 and call it a day.