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

Feature request - Support pagination on both sides of the list. #386

Closed
srameshr opened this issue Aug 27, 2018 · 1 comment
Closed

Feature request - Support pagination on both sides of the list. #386

srameshr opened this issue Aug 27, 2018 · 1 comment

Comments

@srameshr
Copy link

Is this a bug report, a feature request, or a question?

Feature request

Could you try to support pagination on either side of the list? More explanation here: facebook/react-native#20500

Have you followed the required steps before opening a bug report?

Have you made sure that it wasn't a React Native bug?

Specifically, it is a feature request for FlatList. I am not sure, if you would try to support this feature until RN adds this in FlatList.

Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?

BOTH

Is the bug reproductible in a production environment (not a debug one)?

YES

Environment

Environment:
React: 16.4.1
React native: 0.55
react-native-snap-carousel: 3.7.2

Target Platform:
Android (6.0)
iOS (10.3)

Expected Behavior

Use case:

  1. For records from 0 to 100, you load records from 45 to 55 to the UI on the first mount of the component and render 50th element to the user's view.
  2. On scroll left or up obtain records from 44 to 35 and prepend to the list.
  3. Vice versa for scroll right or down.

Actual Behavior

Feature missing for the same.

Reproducible Demo

None

Steps to Reproduce

As mentioned in the Expected Behaviour

@bd-arc
Copy link
Contributor

bd-arc commented Aug 31, 2018

Hey @srameshr,

While I agree that this would be a top-notch feature, we're not willing to alter FlatList's core since it is already a big buggy mess...

Note that we are currently working on replacing FlatList with another component; see #250 if you want more info ;-)

I'm going to close the issue, but make sure to keep us posted if the component is updated by the Facebook team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants