From 2dd6106ea5cd5cca57afb82a3ba187f2ae12965f Mon Sep 17 00:00:00 2001 From: Anton Standrik Date: Fri, 10 Jun 2022 17:54:06 +0300 Subject: [PATCH] fix(List): fix getContainer for sortable container --- src/components/List/List.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/List/List.tsx b/src/components/List/List.tsx index 70084fceb..8b2300ff1 100644 --- a/src/components/List/List.tsx +++ b/src/components/List/List.tsx @@ -16,7 +16,7 @@ const b = block('list'); const DEFAULT_ITEM_HEIGHT = 28; const SortableListItem = SortableElement(ListItem); const SortableListContainer = SortableContainer(ListContainer, {withRef: true}); -const SortableSimpleContainer = SortableContainer(SimpleContainer); +const SortableSimpleContainer = SortableContainer(SimpleContainer, {withRef: true}); type ListState = { items: ListProps['items'];