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: transition property selection when an exact property matched during search (#4450)
Jaya Krishna Namburu9cdbf8108d0b
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 a6873a9dbe..ad3756a040 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@@ -130,7 +130,7 @@ export const TransitionContent = ({ index }: { index: number }) => {<TransitionPropertyvalue={property ?? properties.transitionProperty.initial}onChange={(value) => {- updateIntermediateValue({ duration: value });+ updateIntermediateValue({ property: value });setRepeatedStyleItem(transitionProperty, index, value);}}/>diff --git a/apps/builder/app/builder/features/style-panel/sections/transitions/transition-property.tsx b/apps/builder/app/builder/features/style-panel/sections/transitions/transition-property.tsxindex 0ac8a67ae9..9a5056d053 100644--- a/apps/builder/app/builder/features/style-panel/sections/transitions/transition-property.tsx+++ b/apps/builder/app/builder/features/style-panel/sections/transitions/transition-property.tsx@@ -108,14 +108,6 @@ export const TransitionProperty = ({keys: [itemToString],sorter: (rankedItems) =>rankedItems.sort((a, b) => {- // Prioritize exact matches- if (a.item.name === search) {- return -1;- }- if (b.item.name === search) {- return 1;- }-// Keep the proeprties on instance at the topif (animatableDefinedProperties.has(a.item.name)) {return -1;