-
Notifications
You must be signed in to change notification settings - Fork 802
Description
Describe the bug
When repeatedly reordering a single list item, at some point, the item ends up with extremely rounded borders, causing a visual glitch. This bug can be observed in the WinUI 2 Gallery itself
I was able to replicate the issue by editing a style that includes any Windows.UI.Xaml.Controls control. If the style contains, within the ControlTemplate at the topmost level of the visual tree (highest z-index), a Windows.UI.Xaml.Shapes component, such as a Rectangle, the bug does not occur.
Bellow we can see many styles that will occur the bug
Bellow we can't reproduce the bug, using Shapes
Why i can't use Shapes and "fix" the bug? The Shapes form don't have Corner radius, only RadiusX or RadiusX, so, we cant set TopLeft or TopRight CornerRadius to create a Style.
Steps to reproduce the bug
- Go to WinUI 2 Gallery
- Open List View with Drag drop example
- Choose a item
- Reorder the same item repeatedly
Expected behavior
The item still with original shape
Screenshots
NuGet package version
None
Windows version
Windows 10 (20H2): Build 19042, Windows 11 (24H2): Build 26100
Additional context
No response



