Post

Replies

Boosts

Views

Activity

Reply to UIContextMenuConfiguration : UI Bug due to cell recycling at the deletion of an item in an UICollectionView
I have a similar issue with a UICollectionView fed by a UICollectionViewDiffableDataSource that receives apply calls with data coming from a NSFetchedResultsController. With this configuration, even when I return nil from previewForDismissingContextMenuWithConfiguration, when a record is deleted from the context menu the animation still fades first into the same cell and sometimes it's replaced with a blank cell briefly. I guess this issue is probably because the (asynchronous) indirection of the delete action. But how can I solve this problem?
Nov ’20