mirror of
https://github.com/grafana/grafana.git
synced 2024-11-28 03:34:15 -06:00
ColorInputPicker: Fix popover in disabled state (#54000)
This commit is contained in:
parent
38017fd3f5
commit
2caaa7fba2
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user