Fix color pick in TextStoryCreator
This commit is contained in:
@@ -274,9 +274,9 @@ export const TextStoryCreator = ({
|
|||||||
setIsColorPickerShowing(false);
|
setIsColorPickerShowing(false);
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
{ containerElements: [colorPickerPopperButtonRef] }
|
{ containerElements: [colorPickerPopperRef, colorPickerPopperButtonRef] }
|
||||||
);
|
);
|
||||||
}, [isColorPickerShowing, colorPickerPopperButtonRef]);
|
}, [isColorPickerShowing, colorPickerPopperRef, colorPickerPopperButtonRef]);
|
||||||
|
|
||||||
const sliderColorNumber = getRGBANumber(sliderValue);
|
const sliderColorNumber = getRGBANumber(sliderValue);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user