The DataTrigger in the CollectionView inside the Popup doesn't work correctly when scrolling #24655
Labels
area-controls-collectionview
CollectionView, CarouselView, IndicatorView
platform/android 🤖
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
I define a DataTrigger on a ContentView for a ItemTemplate on a CollectionView.
My goal is to change the background color on the row where the SelectedItem is matching the value.
When I select a value like United States, I open again the picker I can see United States is selected but if I scroll, many row will have a background. It's should not be possible with my Triggers.
If I scroll down very fast and I scroll up, I have more background appearing on my rows coming from nowhere.
Steps to Reproduce
Link to public reproduction project repository
https://github.com/StephanArnas/Blog_MAUI_ComponentLibrary/tree/articles/part_4
Version with bug
8.0.82 SR8.2
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android
Affected platform versions
Android 14, iOS 15
Did you find any workaround?
No workaround for now, I desactivate the trigger to not confuse my users.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: