fix: color picker hex unfocus on web

pull/1934/head
geronimol 10 months ago
parent 2d78e0985d
commit 1feec8b207
  1. 3
      lib/src/widgets/toolbar/buttons/color/color_dialog.dart

@ -54,6 +54,7 @@ class ColorPickerDialogState extends State<ColorPickerDialog> {
actions: [
TextButton(
onPressed: () {
widget.onRequestChangeColor(context, selectedColor);
Navigator.of(context).pop();
},
child: Text(context.loc.ok)),
@ -123,8 +124,6 @@ class ColorPickerDialogState extends State<ColorPickerDialog> {
controller: hexController,
onChanged: (value) {
selectedColor = hexToColor(value);
widget.onRequestChangeColor(context, selectedColor);
colorBoxSetState(() {});
},
decoration: InputDecoration(

Loading…
Cancel
Save