UICollectionView Drag and Drop outside view

I currently have a UICollectionView where I'm successfully using drag and drop, except in one case.

I am tracking the drag and updating a variable for the cell over which the drag location is. Once it leaves the UICollectionView view element, it simply ignores the location and leaves the variable as the last cell over which the drag passed.

However, if the user drops the cell outside the UICollectionView view, it cancels the action and never fires the performDropWith (even though it continues to track the drag up until the drop). According to what I've read so far, I don't see any mention of the fact the drag/drop should be cancelled in that case. Am I possibly missing a setting or an additional method that needs to be implemented for that?

I'm using Swift and the most up to date Xcode and simulators.

Thanks for any ideas.

UICollectionView Drag and Drop outside view
 
 
Q