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: avoid props autofocus (#4199)

Oleg Isonenf4bd1d1a2a08
diff --git a/apps/builder/app/builder/features/settings-panel/props-section/props-section.tsx b/apps/builder/app/builder/features/settings-panel/props-section/props-section.tsx
index e0d57d0339..57727c13d8 100644
--- a/apps/builder/app/builder/features/settings-panel/props-section/props-section.tsx
+++ b/apps/builder/app/builder/features/settings-panel/props-section/props-section.tsx
@@ -181,11 +181,8 @@ export const PropsSection = (props: PropsSectionProps) => {
}}
/>
)}
- {logic.addedProps.map((item, index) =>
- renderProperty(props, item, {
- deletable: true,
- autoFocus: index === 0,
- })
+ {logic.addedProps.map((item) =>
+ renderProperty(props, item, { deletable: true })
)}
{logic.initialProps.map((item) => renderProperty(props, item))}
</Flex>