We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46cbf7f commit 07f2761Copy full SHA for 07f2761
Sources/CollectionView.swift
@@ -76,11 +76,12 @@ open class CollectionView: UIScrollView {
76
}
77
78
@objc func tap(gesture: UITapGestureRecognizer) {
79
- for identifier in visibleIdentifiers {
+ for identifier in visibleIdentifiers.reversed() {
80
let cell = identifierToView[identifier]!
81
let index = identifierToIndex[identifier]!
82
if cell.point(inside: gesture.location(in: cell), with: nil) {
83
provider.didTap(view: cell, at: index)
84
+ return
85
86
87
0 commit comments