-
Notifications
You must be signed in to change notification settings - Fork 1.9k
CarouselView behaves strangely when manipulating position in ViewModel #22468
Copy link
Copy link
Open
Labels
area-controls-collectionviewCollectionView, CarouselView, IndicatorViewCollectionView, CarouselView, IndicatorViewdelightermigration-compatibilityXamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-ConvertXamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convertpartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/windowss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Metadata
Metadata
Assignees
Labels
area-controls-collectionviewCollectionView, CarouselView, IndicatorViewCollectionView, CarouselView, IndicatorViewdelightermigration-compatibilityXamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-ConvertXamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convertpartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/windowss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.
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