VegaScroll icon indicating copy to clipboard operation
VegaScroll copied to clipboard

ScrollToItem(at:) programmatically - Can I control the speed of animation?

Open alessign opened this issue 6 years ago • 0 comments

Hi, I would like use VegaScroll in user-disabled mode and call action on button press to scroll to the next index. It all works fine, only problem is, that the animation is too fast and it doesn't look that great.

I found only one way to control it in viewDidLoad method: collectionView.decelerationRate = UIScrollViewDecelerationRateNormal

But that doesn't quite do the trick. Is there a way to control the speed of scroll animation directly in VegaScroll class?

Thank you

alessign avatar Mar 01 '18 14:03 alessign