react-trello
react-trello copied to clipboard
Sort cards before state update
When I needed to use the laneSortFunction
I notice that it's work fine in a single lane as showed in the story example. But there's a bug when I have more than one lane. The react-trello gets confused with the new indexes and consequently move wrong cards on dragging and dropping.
I fixed the issue by reordering the cards before they were added on the lane.
Probably we need to disable card dragging when laneSortFunction
is used? What do you think?
Hey guys. what's the status on this? I just spend like 2 hours to track this problem down until I found that somebody already did it... 😱 Any eta when we can expect an update?
Guys this solution is not working. Seen the same thing. I have just merged with the v2.2.8 and is the same as before.