ColorInputPicker: Fix popover in disabled state (#54000)
This commit is contained in:
@@ -51,7 +51,7 @@ export const ColorPickerInput = forwardRef<HTMLInputElement, ColorPickerInputPro
|
||||
return (
|
||||
<ClickOutsideWrapper onClick={() => setIsOpen(false)}>
|
||||
<div className={styles.wrapper}>
|
||||
{isOpen && (
|
||||
{isOpen && !inputProps.disabled && (
|
||||
<RgbaStringColorPicker
|
||||
data-testid={'color-popover'}
|
||||
color={currentColor}
|
||||
|
||||
Reference in New Issue
Block a user