Fix an issue where pageIndex becomes invalid when data is changed (removed) and autoResetPageIndex is false. #5031
Closedhamidvirani(GitHub profile, opens in a new tab)wants to merge 1 commit into
main fromrefs/pull/5031/headopened KevinVandy closed this
Sign in to join this conversation.
I like this! I have to get around it with an useEffect in my tanstack table code bases like this:
https://github.com/KevinVandy/mantine-react-table/blob/433b24f761e10e4268039763479e8b415286334f/packages/mantine-react-table/src/hooks/useMRT_Effects.ts#L50
Will look into merging this fix