Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow infinite scroll to navigate through non-queried page links #1

Open
josephrexme opened this issue Jan 14, 2021 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@josephrexme
Copy link
Contributor

Infinite scroll API for the load function assumes that a page parameter is needed to load the next page but there are times when the next page URL is being generated from the current page request with no parameters given.

e.g

request.get('url.com/items')

returns:

{
  "data": [],
  "next_page": "url.com/3df89"
}

Infinite-scroll component should support such cases and load the next page from the response.

@josephrexme josephrexme added the enhancement New feature or request label Jan 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant