Skip to content

CarouselView behaves strangely when manipulating position in ViewModel #22468

@ghost

Description

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

  1. Build the repository CarouselViewSample
  2. Increase the position at least once
  3. Observe the strange behaviour when trying to go down.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-collectionviewCollectionView, CarouselView, IndicatorViewdelightermigration-compatibilityXamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convertpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/windowss/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions