Fix color pick in TextStoryCreator

This commit is contained in:
Fedor Indutny
2022-09-15 12:11:40 -07:00
committed by GitHub
parent eb9716a0d5
commit f627a05cf8

View File

@@ -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);