carbon-components-svelte/src/Pagination
Bilux 1aad3153b5
Correct page number when dispatching update (#911)
* Correct page number when dispatching update

When in last page of data and the page size get changed to a bigger size the current page number will be out of range of total pages.
This code will set the page number in range of total pages.

* fix(pagination): page value should not exceed totalPages

Co-authored-by: metonym <ericyl.us@gmail.com>
2021-11-18 07:41:33 -08:00
..
index.js refactor: update/fix JSDoc props 2020-11-04 06:04:25 -08:00
Pagination.svelte Correct page number when dispatching update (#911) 2021-11-18 07:41:33 -08:00
PaginationSkeleton.svelte Fix a11y-mouse-events warning, update docs (#765) 2021-07-26 08:40:05 -07:00