Revery: Add a drag-and-drop API

Created on 6 May 2020  路  1Comment  路  Source: revery-ui/revery

One thing that would be really nice to have in Revery and Onivim2 would be a drag-and-drop API for system as well as internal elements.

The bindings for the system elements (text & files) exist in reason-sdl2 (revery-ui/reason-sdl2#67) as of today, so all that's required there is plumbing that through the Revery event system!

I think this would closely mirror Revery's Mouse events (src/UI/Mouse.re), because after all you have to both drag and drop with your mouse 馃惌.

I wanted to make this issue to centralize the progress made on it, because I couldn't find one that existed already.

Some helpful links:

A-native A-primitives enhancement

Most helpful comment

FYI: This is how I implemented drag & drop in my Revery app a while ago, not sure if it's helpful:

>All comments

FYI: This is how I implemented drag & drop in my Revery app a while ago, not sure if it's helpful:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SamuelTrew picture SamuelTrew  路  4Comments

bryphe picture bryphe  路  3Comments

akinsho picture akinsho  路  5Comments

bryphe picture bryphe  路  3Comments

bryphe picture bryphe  路  5Comments