diff --git a/Sources/SelectableCollectionView/Views/InteractiveCollectionView.swift b/Sources/SelectableCollectionView/Views/InteractiveCollectionView.swift index ab95c00..97c0cd3 100644 --- a/Sources/SelectableCollectionView/Views/InteractiveCollectionView.swift +++ b/Sources/SelectableCollectionView/Views/InteractiveCollectionView.swift @@ -158,7 +158,9 @@ class InteractiveCollectionView: NSCollectionView { cursor = indexPath } - } else { + } else if !selectionIndexPaths.contains(indexPath) { + + // Select a clicked item if it's not within the current selection. let selectionIndexPaths = selectionIndexPaths deselectItems(at: selectionIndexPaths)