dotnet / dotnet/maui

I9 - Scroll animation is not working when the Animate scroll toggle is turned on.

Open
#29,489 10 comments 0 reactions 0 assignees View on GitHub
csi-new platform/windows s/triaged t/bug
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 14h
Merged PRs (30d)
296

Description

### Description

The scroll animation is not working when the Animate scroll toggle is turned on.

**Affected Case:**
I9 - Scroll by index (ScrollTo)
I9 - Scroll by object (ScrollTo)
I9 - Scroll by index (Grouped Data)
I9 - Scroll by object (Grouped Data)

**Note:**
This issue may be related to the Visual Studio version as we can't reproduce it on Visual Studio 17.14 Preview 6 and 17.14 Preview 3 but can repro on VS 17.3.7, 17.13.6, 17.14 GA and 18.0.0 Preview 1.0 [10613.139.main].

### Steps to Reproduce

1. Deploy https://devdiv.visualstudio.com/Pkgs/_git/VS.TestAssets.Xaml?path=/Assets/Projects/ManualMauiTests on Windows platform.
2. Click I9_Scrolling -> I9 - Scroll by index (ScrollTo) -> Click "Scroll to item 9" button.
3. Observe that the scrolling animation is not working even if the "Animate scroll" toggle is turned on.

**Actual Behavior:**
Scrolling animation is not working even if the "Animate scroll" toggle is turned on.

![Image](https://github.com/user-attachments/assets/5cc52757-e567-48dd-8cab-774ae711fd05)

**Expected Behavior:**
Scrolling animation should work when the "Animate scroll" toggle is turned on.

![Image](https://github.com/user-attachments/assets/bf2cb75a-6a75-4a1f-85de-6d7915b5d180)

### Link to public reproduction project repository

https://devdiv.visualstudio.com/Pkgs/_git/VS.TestAssets.Xaml?path=/Assets/Projects/ManualMauiTests

### Version with bug

Inflight/current - 9.0.80-ci.main.25263.46

### Is this a regression from previous behavior?

Not a regression. The issue can be repro on 9.0.70, 9.0.60 and 9.0.0.

### Affected platforms

Windows

Contributor guide

Open the contributing guide

Research direction

Start by deploying the ManualMauiTests project on Windows and reproduce the I9 ScrollTo cases with the "Animate scroll" toggle enabled. Compare the affected Visual Studio versions and confirm the work is done when animated scrolling works for index and object scrolling, including grouped data.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.