dotnet / dotnet/maui

[Windows] CarouselView ScrollTo Method Fails to Scroll to Index

Open
#29,448 2 comments 2 reactions 0 assignees View on GitHub
area-controls-collectionview partner/syncfusion platform/windows s/triaged s/verified t/bug
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 15h
Merged PRs (30d)
290

Description

### Description

The ScrollTo method in the CarouselView is not functioning as expected on the Windows platform. When attempting to scroll to a specific index using the ScrollTo method, the CarouselView does not scroll to the desired item.

| Expected Output | Actual Output |
|-----------------|---------------|
| | |

### Steps to Reproduce

1. Run the Application [CarouselViewIssue 12.zip](https://github.com/user-attachments/files/20162370/CarouselViewIssue.12.zip)
2. Enter a valid index in the Entry control and click the "Scroll To" button.
3. Observe the behavior.

Expected Behavior
The CarouselView should scroll to the item at the specified index.

Actual Behavior
The CarouselView does not scroll to the specified index on Windows.

### 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

_No response_

### Affected platforms

Windows

### Affected platform versions

_No response_

### Did you find any workaround?

_No response_

### Relevant log output

```shell

```

Contributor guide

Open the contributing guide

Research direction

Start with the attached CarouselViewIssue 12.zip reproduction, enter an index in the Entry control, and invoke the Scroll To button on Windows. Trace the CarouselView ScrollTo entry point and compare the expected and actual behavior; done means the requested index is displayed.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.