Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

fix(canvas): color picker component mounting

joshistoast7d5110ae0121
diff --git a/invokeai/frontend/webv2/src/workbench/components/ui/ColorPicker.tsx b/invokeai/frontend/webv2/src/workbench/components/ui/ColorPicker.tsx
index 6019c0f33f..e9b0b39d42 100644
--- a/invokeai/frontend/webv2/src/workbench/components/ui/ColorPicker.tsx
+++ b/invokeai/frontend/webv2/src/workbench/components/ui/ColorPicker.tsx
@@ -76,7 +76,9 @@ export const ColorPicker = ({
return (
<ChakraColorPicker.Root
+ lazyMount
size={size}
+ unmountOnExit
value={color}
onValueChange={handleValueChange}
onValueChangeEnd={handleValueChangeEnd}