Skip to content

Commit

Permalink
fix(ColorPickerClearButton): button isn't clickable inside MenuItem (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
YossiSaadi authored Oct 8, 2024
1 parent 03aa5ba commit d6bc515
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export const ColorPickerClearButton: VibeComponent<ColorPickerClearButtonProps>
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}
>
<Icon size="16" className={styles.clearColorIcon} />
Expand Down

0 comments on commit d6bc515

Please sign in to comment.