-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Description
Describe the bug
If you select a Color
from the RecentColorPalette
and close the ColorPicker
the control loses the SelectedColor
and sets the default instead.
Steps to reproduce
- Set
AddToRecentColor=ColorPickerClosed
- Select different colors
- Select a color from recent colors.
- Open and close the
ColorPicker
serveral times
Expected behavior
ColorPicker
should remember the selection.
Actual behavior
ColorPicker
looeses the selection. This behaviour exists since the last recent changes. The problem seems to be related to removing these lines:
Environment
MahApps.Metro version: v2.4.1
Windows build number: Win10 20H2 [Version 10.0.19042.662]
Visual Studio: 2019 16.6.0
Target Framework: .Net Core 3.1 (v4.5.2, v4.7.2)