dotnet / dotnet/maui

[CarouselViewHandler2] CurrentItem Not Updating with Vertical LinearItemsLayout

Open
#32,136 1 comment 0 reactions 0 assignees View on GitHub
area-controls-collectionview collectionview-cv2 partner/syncfusion platform/ios s/triaged s/verified t/bug
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 10h
Merged PRs (30d)
297

Description

### Description

- In CarouselViewHandler2, when using LinearItemsLayout with Orientation="Vertical", the CurrentItem property does not update correctly, whereas it works as expected in CarouselViewHandler1.

| CarouselViewHandler1 | CarouselViewHandler2 |
|----------|----------|
| | |

### Steps to Reproduce

1. Download the attached sample project.
2. Run the application and scroll the CarouselView vertically.
3. Observe that the CurrentItem property does not update as the items change.

[SampleRepo.zip](https://github.com/user-attachments/files/23047767/SampleRepo.zip)

### Link to public reproduction project repository

_No response_

### Version with bug

9.0.120

### Is this a regression from previous behavior?

No, this is something new

### Last version that worked well

_No response_

### Affected platforms

iOS

### Affected platform versions

_No response_

### Did you find any workaround?

_No response_

### Relevant log output

```shell

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.