Hi, when you drag a cell somewhere and then decide to drag it back (not move it), meaning you'll drop the cell at the spot where you started dragging it in one go, the finalindex will point to the last nearest position instead of on the original one.
To reveal this bug in your demo project reload collectionView data in userDidEndDraggingCell. The data underlying the collectionView isn't being changed properly.
Hi, when you drag a cell somewhere and then decide to drag it back (not move it), meaning you'll drop the cell at the spot where you started dragging it in one go, the finalindex will point to the last nearest position instead of on the original one.
To reveal this bug in your demo project reload collectionView data in userDidEndDraggingCell. The data underlying the collectionView isn't being changed properly.