-
Notifications
You must be signed in to change notification settings - Fork 50
Suggestion: canbecomefocused #9
Copy link
Copy link
Closed
Description
working with collectionView, sometimes you want the collectionViewDelegate to
decide whether to allow focus or not via
func collectionView(_ collectionView: UICollectionView, canFocusItemAt indexPath: IndexPath) -> Bool
after some time of investigation, I discovered that when a collectionviewcell overrides
canBecomeFocused, the collectionViewDelegate function
func collectionView(_ collectionView: UICollectionView, canFocusItemAt indexPath: IndexPath) -> Bool
doesn't get called.
to solve this issue, I just commented the code
in ParallaxCollectionViewCell,
//open override var canBecomeFocused : Bool {
// return true
//}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels