Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

fix: keep property in advanced panel when use color thumb (#5364)

Bogdan Chadkin2a13c3d07776
diff --git a/apps/builder/app/builder/shared/css-editor/css-editor.tsx b/apps/builder/app/builder/shared/css-editor/css-editor.tsx
index 26745ea3fe..3c42a58803 100644
--- a/apps/builder/app/builder/shared/css-editor/css-editor.tsx
+++ b/apps/builder/app/builder/shared/css-editor/css-editor.tsx
@@ -153,7 +153,7 @@ const AdvancedPropertyValue = ({
}
}}
onChangeComplete={(styleValue) => {
- onSetProperty(styleDecl.property)(styleValue);
+ onSetProperty(styleDecl.property)(styleValue, { listed: true });
}}
/>
)