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.

faster expand on hold

Roman Pominov21a8b520351e
diff --git a/apps/designer/app/designer/shared/tree/tree.tsx b/apps/designer/app/designer/shared/tree/tree.tsx
index 427299ccaf..724741301c 100644
--- a/apps/designer/app/designer/shared/tree/tree.tsx
+++ b/apps/designer/app/designer/shared/tree/tree.tsx
@@ -218,7 +218,7 @@ export const Tree = ({
const useHoldHandler = useHold<DropTarget<Instance>>({
isEqual: (a, b) => a.data.id === b.data.id,
- holdTimeThreshold: 1000,
+ holdTimeThreshold: 600,
onHold: (dropTarget) => {
if (
getIsExpandable(dropTarget.data) &&