File tree Expand file tree Collapse file tree 3 files changed +1
-4
lines changed
packages/raystack/components/data-table Expand file tree Collapse file tree 3 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,6 @@ const DefaultEmptyComponent = () => (
159159) ;
160160
161161export function VirtualizedContent ( {
162- height = '100%' ,
163162 rowHeight = 40 ,
164163 groupHeaderHeight,
165164 overscan = 5 ,
@@ -220,7 +219,6 @@ export function VirtualizedContent({
220219 < div
221220 ref = { scrollContainerRef }
222221 className = { cx ( classNames . root , styles . scrollContainer ) }
223- style = { { height } }
224222 onScroll = { handleVirtualScroll }
225223 >
226224 < div role = 'table' className = { cx ( styles . virtualTable , classNames . table ) } >
Original file line number Diff line number Diff line change 8181 overflow-y : auto;
8282 overflow-x : auto;
8383 position : relative;
84+ height : 100% ;
8485}
8586
8687.stickyHeader {
Original file line number Diff line number Diff line change @@ -128,8 +128,6 @@ export type DataTableContentBaseProps = {
128128export type DataTableContentProps = DataTableContentBaseProps ;
129129
130130export type VirtualizedContentProps = DataTableContentBaseProps & {
131- /** Height of the scroll container. */
132- height ?: number | string ;
133131 /** Height of each row in pixels. */
134132 rowHeight ?: number ;
135133 /** Height of group header rows in pixels. Falls back to rowHeight if not set. */
You can’t perform that action at this time.
0 commit comments