Skip to content

Commit dfa690a

Browse files
committed
fix: overflow issue fix
1 parent 5d82b93 commit dfa690a

File tree

1 file changed

+3
-1
lines changed
  • apps/sensenet/src/components/tree

1 file changed

+3
-1
lines changed

apps/sensenet/src/components/tree/tree.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,8 @@ export function Tree({ treeData, itemCount, onItemClick, loadMore, isLoading, ac
173173
flexGrow: 2,
174174
flexShrink: 0,
175175
borderRight: '1px solid rgba(128,128,128,.2)',
176+
overflowY: 'scroll',
177+
overflowX: 'hidden',
176178
}}>
177179
<AutoSizer>
178180
{({ height, width }) => (
@@ -192,7 +194,7 @@ export function Tree({ treeData, itemCount, onItemClick, loadMore, isLoading, ac
192194
containerStyle={{ overflow: 'initial' }}
193195
rowRenderer={rowRenderer}
194196
rowCount={itemCount}
195-
style={{ outline: 'none' }}
197+
style={{ outline: 'none', overflow: 'unset' }}
196198
/>
197199
)}
198200
</AutoSizer>

0 commit comments

Comments
 (0)