-
Notifications
You must be signed in to change notification settings - Fork 460
Description
💬 RFC
The current implementation of FluentSortableListEventArgs does not allow one to determine from which list onto which list the item was dragged and then dropped. By providing two additional properties, FromId and ToId the developer would be able to determine which lists were involved.
🔦 Context
I am building a todo application and sort the items into buckets (think of kanban columns). I want a view with all the buckets and the ability to drag and drop one item from one list to the next. I have considered using the FluentDragContainer. I decided against it because I would have to re-implement the nice visuals of FluentSortableList on my own and because the underlying SortableJS library provides the means to solve my problem.
💻 Examples
I have forked the fluentui-blazor project and implemented changes that accomplishes what I want. You can view it here. I also changed the code in the demo page for the FluentSortableList-Component to test my changes and provide a demonstration.
demo.mp4
I can create a pull request but I don't know if it would be okay to do that out of the blue.