-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update uncontrolled table behavior to only update page if user …
…is out of bounds - Rather than having a prop for if the page should be reset when the rows change, the default behavior will be to only update the page if the user is out of bounds when the rows change - This also fixes a bug with the resetPageOnRowChange prop where, if this was false and the user was on the last page, then it would be possible for the user to be outside of the page bounds if rows were removed
- Loading branch information
1 parent
6ff8b99
commit fd6d753
Showing
2 changed files
with
54 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters