Skip to content

To support infinite-scroll pagination style for Pagination component. #8044

Answered by alcarasj
alcarasj asked this question in Help
Discussion options

You must be logged in to vote

@aagonzales

Thanks for the reply! It appears that the proposed pattern of behaviour is already achievable in latest Carbon. Please see sandbox here: https://codesandbox.io/s/carbon-components-react-forked-ixgbq . Note in the MOCK_DATA constant I'm roughly mocking what the UI would receive if the API returns a list of data in the infinite-scroll pattern (existence of previous and next page token). Then I just hid the page number selector dropdown, which is probably the only thing that needs to be changed?



Is this meant for data tables? Or what kind of content?

Yes, this is meant for data tables. The infinite-style scrolling pagination (in the context of Cloudant) is used for index per…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@aagonzales
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants