-
Notifications
You must be signed in to change notification settings - Fork 538
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(DataTable): Fix pagination step generation when `defaultPageIndex…
…` is provided (#3866) * fix pagination steps when defaultPageIndex is set * refactor pagination step generation Co-authored-by: John Crepezzi <[email protected]> * add story for pagination w/ default page index * return to using offsetStartIndex with better bounds control Co-authored-by: Josh Black <[email protected]> * add changeset --------- Co-authored-by: John Crepezzi <[email protected]> Co-authored-by: Josh Black <[email protected]>
- Loading branch information
1 parent
3e20ab1
commit 22fa092
Showing
4 changed files
with
131 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@primer/react': patch | ||
--- | ||
|
||
DataTable: fix incorrect pagination steps when defaultPageIndex is provided | ||
|
||
<!-- Changed components: DataTable --> |
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
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