Feedback assistant ID: *****
Thanks.
Description
On iOS 13+, when we delete an item of a UICollectionView after presenting a contextual menu with the new API collectionView(_:contextMenuConfigurationForItemAt:point:), there is a bug that briefly display a wrong cell. This bug is particularly visible on an horizontal scroll UICollectionView**.Step by step
my app display an horizontal scroll UICollectionView
i display the contextual menu with a long press on the item at indexPath(0:3)
i delete the item at indexPath(0:3)
the delete animation is triggered
the cell at indexPath(0:6) (before the delete) appears briefly
the cell at indexPath(0:4) (before the delete) takes place at indexPath(0:3)
What results I expected
I expected that the deletion does not briefly display a wrong cell.What results I actually saw
A wrong cell appears briefly during the deletion.Conclusion
Has anyone come across this problem before ? What solution did you apply?Thanks.