From 2caaa7fba2942b1b7c0b22c44924085ed5c049f0 Mon Sep 17 00:00:00 2001 From: Alex Khomenko Date: Mon, 22 Aug 2022 18:01:33 +0300 Subject: [PATCH] ColorInputPicker: Fix popover in disabled state (#54000) --- .../grafana-ui/src/components/ColorPicker/ColorPickerInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grafana-ui/src/components/ColorPicker/ColorPickerInput.tsx b/packages/grafana-ui/src/components/ColorPicker/ColorPickerInput.tsx index 6e87286251c..47742427eef 100644 --- a/packages/grafana-ui/src/components/ColorPicker/ColorPickerInput.tsx +++ b/packages/grafana-ui/src/components/ColorPicker/ColorPickerInput.tsx @@ -51,7 +51,7 @@ export const ColorPickerInput = forwardRef setIsOpen(false)}>
- {isOpen && ( + {isOpen && !inputProps.disabled && (