damonhook / aos-statshammer

A tool for calculating and comparing damage outputs for Warhammer Age of Sigmar units.
https://aos-statshammer.herokuapp.com/
MIT License
18 stars 10 forks source link

Implement Drag and Drop re-ordering #22

Open damonhook opened 4 years ago

damonhook commented 4 years ago

Currently you can only re-order elements using an up/down button. We should instead use a drag-and-drop interface using this library: https://github.com/atlassian/react-beautiful-dnd

damonhook commented 4 years ago

I got it mostly working, however, it conflicts with the 'react-swipeable-views' library used to enable touch swiping for tabs.

This is because it creates a nested scroll container which are not currently supported by react-beautiful-dnd. I am going to put this back onto the back-burner for now, and get back to some more important issues