From d6bc51513d95db7db1c4dc8c81ed0a8282dc6990 Mon Sep 17 00:00:00 2001 From: Yossi Saadi Date: Tue, 8 Oct 2024 13:28:14 +0300 Subject: [PATCH] fix(ColorPickerClearButton): button isn't clickable inside MenuItem (#2464) --- .../components/ColorPickerContent/ColorPickerClearButton.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/src/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.tsx b/packages/core/src/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.tsx index 4d33910c8c..f0b2034ab2 100644 --- a/packages/core/src/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.tsx +++ b/packages/core/src/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.tsx @@ -27,6 +27,7 @@ export const ColorPickerClearButton: VibeComponent size={Button.sizes.SMALL} kind={Button.kinds.TERTIARY} onClick={() => onSelectionAction(-1)} //hack - we don't really have a grid, it's just for keyboard navigation outside the clear button + blurOnMouseUp={false} className={styles.clearColorButton} >