Skip to content

Commit 1c2cdf3

Browse files
committed
fix(ui): fix miss flexShrink in virtual-scroll's fill element
1 parent f51cd58 commit 1c2cdf3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/ui/src/components/virtual-scroll/VirtualScroll.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ function VirtualScroll<T>(props: DVirtualScrollProps<T>, ref: React.ForwardedRef
295295
overflow: 'hidden',
296296
[dHorizontal ? 'height' : 'width']: 0,
297297
[dHorizontal ? 'width' : 'height']: fillSize[1],
298+
flexShrink: 0,
298299
},
299300
'aria-hidden': true,
300301
})

0 commit comments

Comments
 (0)