fix(table): smooth list empty/loading transitions, no layout jump on entry

Reserve a stable block for the empty/loading state (matching the NoResult
height) and fade the empty state in, so entering a list page no longer jumps
between spinner, empty result, and rows. Apply scroll-table to the antd main
lists and pass emptyMinHeight to the SealTable-based lists.
This commit is contained in:
jialin
2026-07-15 14:05:19 +08:00
committed by jialin
parent 2dd287bbc1
commit eb029a3e2a
15 changed files with 46 additions and 4 deletions
@@ -395,6 +395,7 @@ const Clusters: React.FC = () => {
>
<SealTable
rowKey="id"
emptyMinHeight="calc(100vh - 300px)"
loadChildren={getWorkerPoolList}
sortDirections={TABLE_SORT_DIRECTIONS}
expandedRowKeys={expandedRowKeys}