mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-13 20:39:54 +02:00
fix: color picker input closing problem (#6599)
This commit is contained in:

committed by
GitHub

parent
7bf4de5892
commit
644685a5a8
@@ -66,7 +66,6 @@ const ColorPickerPopupContent = ({
|
|||||||
| "color"
|
| "color"
|
||||||
| "onChange"
|
| "onChange"
|
||||||
| "label"
|
| "label"
|
||||||
| "label"
|
|
||||||
| "elements"
|
| "elements"
|
||||||
| "palette"
|
| "palette"
|
||||||
| "updateData"
|
| "updateData"
|
||||||
@@ -100,6 +99,8 @@ const ColorPickerPopupContent = ({
|
|||||||
container.focus();
|
container.focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
updateData({ openPopup: null });
|
||||||
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user