I2 - Entering the vertical and horizontal lists again, Monkeys still retain the spacing value changed last time
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 290
Description
### Description
I2 - Entering the vertical and horizontal lists again, Monkeys still retain the spacing value changed last time
**Affected case:**
I2 - Vertical list for ItemSpacing
I2 - Horizontal list for ItemSpacing
### Steps to Reproduce
1. Deploy https://devdiv.visualstudio.com/Pkgs/_git/VS.TestAssets.Xaml?path=/Assets/Projects/ManualMauiTests to iOS/MacCatalyst/Windows/Android platforms.
2. Click I2 -> Vertical list for ItemSpacing / Horizontal list for ItemSpacing
3. Change the Spacing value for example: 90 -> Click "Update"
4. The spacing between the Monkeys changes according to the set value.
5. Return to the previous page -> Re-enter
6. Observe the page display
**Actual Behavior:**
The page spacing value is: 0, but the monkey spacing still keeps the last changed value.

**Expected Behavior:**
The page spacing value is 0, and the monkey spacing value is also 0

### Link to public reproduction project repository
https://devdiv.visualstudio.com/Pkgs/_git/VS.TestAssets.Xaml?path=/Assets/Projects/ManualMauiTests
### Version with bug
Microsoft.Maui.Controls 9.0.50-ci.main.25124.1
### Is this a regression from previous behavior?
Not a regression, The issue also repro on 9.0.40 & 9.0.0 & 8.0.100 & 8.0.3
### Affected platforms
iOS, Android, Windows, macOS
Contributor guide
Research direction
Start with the ManualMauiTests reproduction project and the I2 vertical and horizontal ItemSpacing pages described in the issue. Reproduce the navigation sequence on an affected platform, then trace how the spacing value is restored after returning to the page; done means the displayed value and monkey spacing both reset to 0 on re-entry.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100