[BUG][iOS] Maui 8.0.10+ - CarouselView - Previous item content disappears after scrolling to next item #22015
Labels
area-controls-collectionview
CollectionView, CarouselView, IndicatorView
area-xaml
XAML, CSS, Triggers, Behaviors
i/regression
This issue described a confirmed regression on a currently supported version
p/0
Work that we can't release without
partner/cat 😻
Client CAT Team
platform/iOS 🍎
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
In iOS, starting from Maui 8.0.10 and continuing in 8.0.14 and 8.0.20, when you scroll from one item in a CarouselView to the next item, and then go back to the previous item, that item will be blank. Items before the previous item will not be blank. Specifically the last item you were on before scrolling to some other item (in either direction) will end up blank when you return to it. When you loop through the end of the set, all items' content is properly restored.
carousel_issue_ios.mp4
This does not happen in 8.0.3 and 8.0.7, and in Android it doesn't happen in any 8.0.x version so far.
Steps to Reproduce
Link to public reproduction project repository
https://github.com/RedZone908/Maui8_0_20_iOS_CarouselViewIssueRepro/tree/main
Version with bug
8.0.10 SR3, 8.0.14 SR3.1, 8.0.20 SR4
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
8.0.7 SR2
Affected platforms
iOS
Affected platform versions
iOS 17+ (maybe earlier)
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: