alexrainman / CarouselView

CarouselView control for Xamarin Forms
MIT License
436 stars 176 forks source link

Fix for updating position of a CarouselView on iOS #597

Closed mubaarakhassan closed 3 years ago

mubaarakhassan commented 3 years ago

Fixed an issue on iOS where updating position of a CarouselView always transitions from the rightsize (forward). The CarouselView always bases the direction transition on the value of prevBtnClicked. In my case I want to change the position outside of the arrows.

This code works both when you have the ShowArrows set to true and change the position outside of the arrows.