fix: color picker input closing problem (#6599)

This commit is contained in:
Sudharsan Aravind 2023-06-02 02:47:22 +05:30 committed by GitHub
parent 7bf4de5892
commit 644685a5a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,6 @@ const ColorPickerPopupContent = ({
| "color"
| "onChange"
| "label"
| "label"
| "elements"
| "palette"
| "updateData"
@ -100,6 +99,8 @@ const ColorPickerPopupContent = ({
container.focus();
}
updateData({ openPopup: null });
e.preventDefault();
e.stopPropagation();