MMBannerLayout
MMBannerLayout copied to clipboard
No Scrolling when cell is not visible.
Hello, first of all, it is very nice & simple library to use. thanks for this. i really mean it. +1 for you.
now, let's talk about issue,
i faced an issue with this cool library. when cell are not visible, i can't scroll to those cell programatically.
Situation: there is 3 items in collectionView and 0 is visible, now use bellow method to scroll to
let indexPath = IndexPath(item: 2, section: 0)
self.collectionView.scrollToItem(at: indexPath, at: UICollectionViewScrollPosition.centeredHorizontally, animated: true)
Note: i've confirmed it with your demo project.