From c255ae5b2fcd8f40b6eb305f1f9e318250c703f6 Mon Sep 17 00:00:00 2001 From: Nicolas Rouanne Date: Thu, 14 Nov 2024 11:42:43 +0100 Subject: [PATCH] fix(SingleEntitySelect): revert exposing `dropdownPlacement` prop in `SingleEntitySelect` - and passing it down to `SingleEntitySelectMenuItemsWithSearch` - since it broke the position of the dropdown, see https://github.com/twentyhq/twenty/pull/8474#issuecomment-2474405877 --- .../relation-picker/components/SingleEntitySelect.tsx | 2 -- .../components/__stories__/SingleEntitySelect.stories.tsx | 4 ---- 2 files changed, 6 deletions(-) diff --git a/packages/twenty-front/src/modules/object-record/relation-picker/components/SingleEntitySelect.tsx b/packages/twenty-front/src/modules/object-record/relation-picker/components/SingleEntitySelect.tsx index 19142e4bbf01..b98c3f36b0f1 100644 --- a/packages/twenty-front/src/modules/object-record/relation-picker/components/SingleEntitySelect.tsx +++ b/packages/twenty-front/src/modules/object-record/relation-picker/components/SingleEntitySelect.tsx @@ -15,7 +15,6 @@ export type SingleEntitySelectProps = { export const SingleEntitySelect = ({ disableBackgroundBlur = false, - dropdownPlacement, EmptyIcon, emptyLabel, excludedRelationRecordIds, @@ -53,7 +52,6 @@ export const SingleEntitySelect = ({ >