Skip to content

The open alternative to Salesforce, designed for AI.

fix: scroll to selected element without animation when dropdown opens (#13969)

ahmedobaid2376115309faa9
diff --git a/packages/twenty-front/src/modules/ui/layout/selectable-list/components/SelectableListItem.tsx b/packages/twenty-front/src/modules/ui/layout/selectable-list/components/SelectableListItem.tsx
index 8789a8eae22..ad679cd02c8 100644
--- a/packages/twenty-front/src/modules/ui/layout/selectable-list/components/SelectableListItem.tsx
+++ b/packages/twenty-front/src/modules/ui/layout/selectable-list/components/SelectableListItem.tsx
@@ -35,8 +35,8 @@ export const SelectableListItem = ({
useEffect(() => {
if (isSelectedItemId) {
listItemRef.current?.scrollIntoView({
- behavior: 'smooth',
- block: 'center',
+ behavior: 'auto',
+ block: 'start',
});
}
}, [isSelectedItemId]);