mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
Readd missing scroll restoration
This commit is contained in:
@@ -103,9 +103,9 @@ export const AlbumListContent = ({ itemCount, gridRef, tableRef }: AlbumListCont
|
|||||||
rowCount: undefined,
|
rowCount: undefined,
|
||||||
};
|
};
|
||||||
params.api.setDatasource(dataSource);
|
params.api.setDatasource(dataSource);
|
||||||
// params.api.ensureIndexVisible(page.table.scrollOffset || 0, 'top');
|
params.api.ensureIndexVisible(page.table.scrollOffset || 0, 'top');
|
||||||
},
|
},
|
||||||
[page.filter, queryClient, server],
|
[page.filter, page.table.scrollOffset, queryClient, server],
|
||||||
);
|
);
|
||||||
|
|
||||||
const onTablePaginationChanged = useCallback(
|
const onTablePaginationChanged = useCallback(
|
||||||
|
|||||||
Reference in New Issue
Block a user