From fad1c7d50f20f06be35a25a933e7cf4ac1771322 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81d=C3=A1m=20Hassan?= Date: Wed, 13 Mar 2024 12:11:22 +0100 Subject: [PATCH] fix: scrolling bug fix --- apps/sensenet/src/components/tree/tree.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/apps/sensenet/src/components/tree/tree.tsx b/apps/sensenet/src/components/tree/tree.tsx index cd852adcd..ff6136e26 100644 --- a/apps/sensenet/src/components/tree/tree.tsx +++ b/apps/sensenet/src/components/tree/tree.tsx @@ -215,7 +215,7 @@ export function Tree({ treeData, itemCount, onItemClick, loadMore, isLoading, ac ) } return ( - + {renderItem(treeData.children?.[index], index.toString(), 10)} ) @@ -229,14 +229,13 @@ export function Tree({ treeData, itemCount, onItemClick, loadMore, isLoading, ac flexGrow: 2, flexShrink: 0, borderRight: '1px solid rgba(128,128,128,.2)', - overflow: 'unset', }}> {({ height, width }) => ( { @@ -246,7 +245,6 @@ export function Tree({ treeData, itemCount, onItemClick, loadMore, isLoading, ac } setElements([...loadMoreElements]) }} - containerStyle={{ overflow: 'unset' }} rowRenderer={rowRenderer} rowCount={itemCount} style={{ outline: 'none' }}