Incorrect position for the first item in ItemsRepeater bound to an IObservableVector when inserting items from the front #9743
Labels
area-ItemsRepeater
bug
Something isn't working
closed-Fixed
Described behavior has been fixed.
fix-released
The fix has been in a release (experimental, preview, stable, or servicing).
team-Controls
Issue for the Controls team
Milestone
Describe the bug
If you have an ItemsRepeater bound to an IObservableVector and you use InsertAt with index 0 the newly added item will be vertically offset by a few pixels.
If you add another item the item that had previously the wrong offset will now be corrected.
Inserting to any other position will not have this effect.
Steps to reproduce the bug
Page.idl
Page.xaml
Page.xaml.h
Page.xaml.cpp
Expected behavior
There not to be an offset vertically.
Screenshots
NuGet package version
WinUI 3 - Windows App SDK 1.5.4: 1.5.240607001
Windows version
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: