-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Completed 🔥bug 🐛An unexpected issue that highlights incorrect behaviorAn unexpected issue that highlights incorrect behaviorhelpers ✋hotfix 🌶in progress 🚧
Milestone
Description
Describe the bug
The ColorPicker has this dependency property
public static readonly DependencyProperty CustomPaletteColorsProperty =
DependencyProperty.Register(
nameof(CustomPaletteColors),
typeof(ObservableCollection<Windows.UI.Color>),
typeof(uwp_toolkit_color_picker),
new PropertyMetadata(Windows.UI.Color.FromArgb(0x00, 0x00, 0x00, 0x00)));
I believe this is in error from the get go, since it should be
public static readonly DependencyProperty CustomPaletteColorsProperty =
DependencyProperty.Register(
nameof(CustomPaletteColors),
typeof(ObservableCollection<Windows.UI.Color>),
typeof(uwp_toolkit_color_picker),
new PropertyMetadata( null ));
As a side note, sometimes, in debug mode, the original code crashes my app like a boss, without even a possibility to debug anything.
Steps to Reproduce
I could not create a small app to reproduce this, my app is huge, and this doesn't happen all the time
robloo
Metadata
Metadata
Assignees
Labels
Completed 🔥bug 🐛An unexpected issue that highlights incorrect behaviorAn unexpected issue that highlights incorrect behaviorhelpers ✋hotfix 🌶in progress 🚧