I9-On Windows, when ScrollToPosition is set to MakeVisible, the second click of the button behaves differently than on other platforms.
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 290
Description
### Description
On Windows, when ScrollToPosition is set to MakeVisible, the second click of the button behaves differently than on other platforms.
**Affected Test Case:**
I9 -Scroll by index for scroll to.
I9 -Scroll by object for scroll to.
I9 -Scroll by index for grouped gata.
I9 -Scroll by object for grouped data.
### Steps to Reproduce
1. Deploy [ManualMaui](https://github.com/dotnet/maui/tree/main/src/Controls/tests/ManualTests) to Windows platform(Release-Start without debug).
2. Navigate to I CollectionView ->I9 Scrolling->Scroll by object for scroll to
3. Select **MakeVisible** in ScrollToPosition
4. Click the Button"Scroll to Proboscis Monkey"
5. "Proboscis Monkey" appears at the bottom of the page.
6. Click the "Scroll to Proboscis Monkey" button again.
7. Observe the position of "Proboscis Monkey"
**Actual Behavior:**
"Proboscis Monkey" scrolls to the top of the page

**Expected Behavior:**
"Proboscis Monkey" should remain at the bottom of the page.

### Link to public reproduction project repository
https://github.com/dotnet/maui/tree/main/src/Controls/tests/ManualTests
### Version with bug
Microsoft.Maui.Controls 10.0.40-ci.inflight.26076.6
### Is this a regression from previous behavior?
Not a regression, The issue also repro on 10.0.30, 10.0.1 & 9.0.100
### Affected platforms
Windows
Contributor guide
Research direction
Start in src/Controls/tests/ManualTests and reproduce the I9 scroll-by-object and scroll-by-index cases on Windows using Release-Start without debug. Compare the second MakeVisible click with the expected bottom position across the listed affected cases. Done means the second click keeps Proboscis Monkey at the bottom as shown in the expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100