From ad93fe980473907e1b93bbd1525c5e8a72b1dc3e Mon Sep 17 00:00:00 2001 From: Rakuyo Date: Mon, 8 Jul 2024 20:55:55 +0800 Subject: [PATCH] feat: Add `autoDeselectItems = false` --- Sources/Epoxy/CollectionView/CollectionView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/Epoxy/CollectionView/CollectionView.swift b/Sources/Epoxy/CollectionView/CollectionView.swift index 9a2bb21..dec319d 100644 --- a/Sources/Epoxy/CollectionView/CollectionView.swift +++ b/Sources/Epoxy/CollectionView/CollectionView.swift @@ -21,6 +21,7 @@ open class CollectionView: EpoxyCollectionView.CollectionView { override public init(layout: UICollectionViewLayout, configuration: CollectionViewConfiguration = .shared) { super.init(layout: layout, configuration: configuration) + autoDeselectItems = false showsVerticalScrollIndicator = false showsHorizontalScrollIndicator = false }