Skip to content

Commit

Permalink
fix(SingleEntitySelect): revert exposing dropdownPlacement prop in …
Browse files Browse the repository at this point in the history
…`SingleEntitySelect`

- and passing it down to `SingleEntitySelectMenuItemsWithSearch`
- since it broke the position of the dropdown, see #8474 (comment)
  • Loading branch information
nicolasrouanne committed Nov 14, 2024
1 parent e638a9a commit c255ae5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export type SingleEntitySelectProps = {

export const SingleEntitySelect = ({
disableBackgroundBlur = false,
dropdownPlacement,
EmptyIcon,
emptyLabel,
excludedRelationRecordIds,
Expand Down Expand Up @@ -53,7 +52,6 @@ export const SingleEntitySelect = ({
>
<SingleEntitySelectMenuItemsWithSearch
{...{
dropdownPlacement,
EmptyIcon,
emptyLabel,
excludedRelationRecordIds,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,3 @@ export const WithSearchFilter: Story = {
});
},
};

export const WithEndPlacement: Story = {
args: { dropdownPlacement: 'bottom-end' },
};

0 comments on commit c255ae5

Please sign in to comment.