This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Bug] CarouselView.CurrentItem not working at all #13122
Labels
5.0.0
Regression on 5.0.0
a/carouselview
blocker
Issue blocks next stable release. Prioritize fixing and reviewing this issue.
i/regression
t/bug 🐛
Projects
Milestone
Description
I have a
CarouselView
withItemsSource
andCurrentItem
bound to dependency properties defined in the page. Then I have 2 buttons to increment and decrement current item. The problem is that settingCarouselView.CurrentItem
has no effect on 5.0-pre5. Although it does work properly on version 4.8.Interesting part is that after swiping the item, current item 'auto-corrects' and starts to work properly.
Steps to Reproduce
CarouselView
doesn't navigate to the itemExpected Behavior
CarouselView should navigate to CurrentItem.
Actual Behavior
CarouselView stays at initial item.
Basic Information
Screenshots
Xamarin Forms 5.0-pre5
![5 0-pre5](https://user-images.githubusercontent.com/45604126/101981902-7a40c180-3c70-11eb-9c7a-5695a4bfef7c.gif)
Xamarin Forms 4.8
![4 8](https://user-images.githubusercontent.com/45604126/101981910-83ca2980-3c70-11eb-9a52-4034daaa938c.gif)
Reproduction Link
CarouselView.CurrentItem.zip
The text was updated successfully, but these errors were encountered: