Skip to content

media list : fix swipe to delete gesture after editing a media list

Actually having a collectionView.allowsMultipleSelectionDuringEditing == true when the UICollectionViewController.isEditing == false still triggers a private typed _UIMultiSelectOneFingerPanGesture event, discarding cells' UIScrollView's pan gesture events

A quick workaround can be to set collectionView.allowsMultipleSelectionDuringEditing == isEditing as soon as UICollectionViewController.isEditing is set to false

This sounds like a UIKit bug.

A separate project has been made to help reproduce, trigger the issue and find a workaround to it : https://code.videolan.org/umxprime/collection-view-bug

Closes #1246 (closed)

Merge request reports