diff --git a/CHANGELOG.md b/CHANGELOG.md index 18b5669..577dae8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,11 @@ The ColorPicker contains no breaking changes, but underlying Flutter does and th * Added property `mainAxisSize` to `ColorPicker` and `showColorPickerDialog`, it controls the vertical axis size of the picker's column layout. Defaults to `MainAxisSize.max` as before, like `Columns` do by default. The property was added to enable setting the dialog to use `MainAxisSize.min` if needed. +**FIX** + +* Fix wheel picker jumping to BW or custom picker under certain conditions. + * When the wheel picker's opacity value is not 100, moving the color picker cursor to the white corner or bottom black edge of the color box triggers a jump. It auto-selects BW or a custom picker containing black or white values. This is now fixed. The picker cursor will stay in the wheel picker, and the color box will not jump to BW or custom picker when the cursor is moved to the white corner or bottom black edge of the color box. + ## 3.4.1 **Mar 16, 2024** @@ -25,7 +30,7 @@ The ColorPicker contains no breaking changes, but underlying Flutter does and th Package -- Fixed [#81](https://github.com/rydmike/flex_color_picker/issues/81) The property `tonalSubheading` in the convenience dialog function `showColorPickerDialog` was never passed along to the `ColorPicker` used to construct the dialog, causing the tonal sub heading to never show up in the resulting dialog. +- Fixed [#81](https://github.com/rydmike/flex_color_picker/issues/81) The property `tonalSubheading` in the convenience dialog function `showColorPickerDialog` was never passed along to the `ColorPicker` used to construct the dialog, causing the tonal subheading to never show up in the resulting dialog. **New** diff --git a/lib/src/color_picker.dart b/lib/src/color_picker.dart index 70ff0b3..03530d2 100644 --- a/lib/src/color_picker.dart +++ b/lib/src/color_picker.dart @@ -1947,6 +1947,7 @@ class _ColorPickerState extends State { }, onChanged: (Color color) { setState(() { + _fromInternal = true; _tappedColor = color; _selectedColor = color; _wheelShouldUpdate = false;