TanStack
OSS
table
Sign in / Sign up
Open main menu
table
GitHub
Overview
Runs
Analytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
6411
8ec18222 fix(pagination): Reset auto page index to first page Auto page-index resets should return to the feature default first page when row-model-affecting state changes. Calling table_resetPageIndex without defaultState preserved initialState.pagination.pageIndex, which could leave the table on a stale non-zero page after filtering, sorting, grouping, or data updates. Constraint: resetPageIndex() without arguments intentionally restores initial state, so the fix is scoped to the automatic reset path only. Rejected: Change table_resetPageIndex default behavior | public reset API semantics depend on restoring initial state. Confidence: high Scope-risk: narrow Directive: Keep manual reset API behavior separate from automatic row-model reset behavior. Tested: pnpm vitest run packages/table-core/tests/unit/features/row-pagination/rowPaginationFeature.utils.test.ts Tested: pnpm nx run @tanstack/table-core:test:lib Not-tested: Full monorepo test:ci Related: TanStack/table#6207
by devchangjun
d
Previous page
Previous
Next
Next page