dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.26k stars 1.76k forks source link

[iOS] Fix CarouselViewLoopNoFreeze so that it's passing on both CV1 and CV2 sets of handlers #25775

Open PureWeen opened 1 week ago

PureWeen commented 1 week ago

Description

This test was modified to only run on CV2 because it's not passing on CV1 https://github.com/dotnet/maui/pull/25719/files

We need to fix it so the test is passing on both sets of handlers

similar-issues-ai[bot] commented 1 week ago

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

NanthiniMahalingam commented 1 week ago

Issue Details

When removing the last item in the carosuel view, zeroth index item updated instead of previous items of the last index.

Steps to Reproduce

Output

Expected Behavior

https://github.com/user-attachments/assets/d1d13560-6133-4b22-9e55-55496116ac54

Actual Behavior

https://github.com/user-attachments/assets/a61788cd-e0f3-4612-a108-531937c9307c