@tanstack/table-core 8.8.4 → 8.8.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tanstack/table-core",
3
3
  "author": "Tanner Linsley",
4
- "version": "8.8.4",
4
+ "version": "8.8.5",
5
5
  "description": "Headless UI for building powerful tables & datagrids for TS/JS.",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/tanstack/table#readme",
@@ -103,7 +103,9 @@ export const Expanding: TableFeature = {
103
103
  )
104
104
  },
105
105
  getCanSomeRowsExpand: () => {
106
- return table.getRowModel().flatRows.some(row => row.getCanExpand())
106
+ return table
107
+ .getPrePaginationRowModel()
108
+ .flatRows.some(row => row.getCanExpand())
107
109
  },
108
110
  getToggleAllRowsExpandedHandler: () => {
109
111
  return (e: unknown) => {