Describe the bug
|
_panel.Children.Insert(e.OldStartingIndex, element); |
The NotifyCollectionChangedAction.Remove branch appears to be incorrect: it inserts items into _panel.Children instead of removing them.
Steps to reproduce
See bug description above.
Expected behavior
Items should be removed from _panel.Children when a NotifyCollectionChangedAction.Remove event occurs, instead of being inserted.
Screenshots
No response
Code Platform
Windows Build Number
Other Windows Build number
No response
App minimum and target SDK version
Other SDK version
No response
Visual Studio Version
No response
Visual Studio Build Number
No response
Device form factor
No response
Additional context
No response
Help us help you
Yes, I'd like to be assigned to work on this item.
Describe the bug
Labs-Windows/components/Ribbon/src/Ribbon.cs
Line 188 in 13a9bf4
The
NotifyCollectionChangedAction.Removebranch appears to be incorrect: it inserts items into_panel.Childreninstead of removing them.Steps to reproduce
Expected behavior
Items should be removed from _panel.Children when a NotifyCollectionChangedAction.Remove event occurs, instead of being inserted.
Screenshots
No response
Code Platform
Windows Build Number
Other Windows Build number
No response
App minimum and target SDK version
Other SDK version
No response
Visual Studio Version
No response
Visual Studio Build Number
No response
Device form factor
No response
Additional context
No response
Help us help you
Yes, I'd like to be assigned to work on this item.