Skip to content

Commit

Permalink
fix jumping select-item-size
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlanz committed Sep 14, 2023
1 parent afcb7d3 commit 93b3b25
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ export type SelectItemFormFieldDialogProps<ItemType, Error> = DialogProps & {
renderErrorMessage: (error: Error) => ReactNode
noSearchResults: string
paginationConfig: { indexType: IndexType }
numberOfLoadingItems?: number
title: ReactNode
}

Expand All @@ -70,7 +69,6 @@ export function SelectItemFormFieldDialog<ItemType, Error>({
renderErrorMessage,
noSearchResults,
paginationConfig,
numberOfLoadingItems = 5,
title,
...props
}: SelectItemFormFieldDialogProps<ItemType, Error>): ReactElement {
Expand Down Expand Up @@ -126,7 +124,7 @@ export function SelectItemFormFieldDialog<ItemType, Error>({
)}
renderLoading={
<DialogContentListLoading
numberOfItems={numberOfLoadingItems}
numberOfItems={size}
enableScrollLayout={false}
/>
}
Expand Down

0 comments on commit 93b3b25

Please sign in to comment.