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.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
fix: scrub and arrow strokes are not working for transition content and delay (#3832)
Jaya Krishna Namburu76f7ca947877
diff --git a/apps/builder/app/builder/features/style-panel/sections/transitions/transition-content.tsx b/apps/builder/app/builder/features/style-panel/sections/transitions/transition-content.tsxindex 4c835efea9..97f1987d04 100644--- a/apps/builder/app/builder/features/style-panel/sections/transitions/transition-content.tsx+++ b/apps/builder/app/builder/features/style-panel/sections/transitions/transition-content.tsx@@ -205,15 +205,18 @@ export const TransitionContent = ({keywords={[]}deleteProperty={() => {}}setValue={(value, options) => {- if (- value === undefined ||- value.type !== "layers" ||- value.value[0].type !== "unit"- ) {+ if (value === undefined) {return;}- handlePropertyUpdate({ duration: value.value[0] }, options);+ if (value.type === "unit") {+ handlePropertyUpdate({ duration: value }, options);+ return;+ }++ if (value.type === "layers" && value.value[0].type === "unit") {+ handlePropertyUpdate({ duration: value.value[0] }, options);+ }}}/>@@ -243,15 +246,18 @@ export const TransitionContent = ({keywords={[]}deleteProperty={() => {}}setValue={(value, options) => {- if (- value === undefined ||- value.type !== "layers" ||- value.value[0].type !== "unit"- ) {+ if (value === undefined) {return;}- handlePropertyUpdate({ delay: value.value[0] }, options);+ if (value.type === "unit") {+ handlePropertyUpdate({ delay: value }, options);+ return;+ }++ if (value.type === "layers" && value.value[0].type === "unit") {+ handlePropertyUpdate({ delay: value.value[0] }, options);+ }}}/>