MMBannerLayout icon indicating copy to clipboard operation
MMBannerLayout copied to clipboard

No Scrolling when cell is not visible.

Open vatsal1992 opened this issue 7 years ago • 0 comments

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.

vatsal1992 avatar Nov 23 '17 06:11 vatsal1992