Skip to content

[iOS] - CarouselView Position Not Respected When Changing From Hidden to Visible in CV2 #29309

@nivetha-nagalingam

Description

@nivetha-nagalingam

Description

When a CarouselView with Position set has IsVisible="False" initially, and then becomes visible, it incorrectly displays the wrong item. It shows the other item instead of the item at the specified Position. This issue occurs only on CV2.
Note: While fixing this issue enable the test case from HostApp: CarouselViewUpdatePosition.


Expected Output Actual Output
Screen.Recording.2025-05-02.at.10.07.38.PM.mov
Screen.Recording.2025-05-02.at.10.01.25.PM.mov

Steps to Reproduce

Expected Behavior:

  • When the CarouselView becomes visible, it should display the item at the specified Position (in this case, "Item 4").

Actual Behavior

  • When the CarouselView becomes visible, it displays "Item 5" instead of "Item 4".

Link to public reproduction project repository

No response

Version with bug

9.0.60 SR6

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS, macOS

Affected platform versions

iPhone 18.0

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions