CarouselView behaves strangely when manipulating position in ViewModel #22468
Labels
area-controls-collectionview
CollectionView, CarouselView, IndicatorView
platform/windows 🪟
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
As expected, one can manipulate the position of the CarouselView to increase, but decreasing seems to misbehave.
Here a clip to illustrate:
CarouselViewSample.2024-05-16.19-21-17.mp4
Upon debugging to follow the stack of calls, it seems the generated code to set the property bound to the CarouselViewPosition (set_CarouselViewPosition) is called three times in total when increasing, but only two times when decreasing.
Steps to Reproduce
Link to public reproduction project repository
https://github.com/Campfire9263/CarouselViewSample
Version with bug
8.0.7 SR2
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows 11 and Windows 10
Did you find any workaround?
Except for giving up on CarouselView altogether, no.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: