frinyvonnick / react-simple-infinite-loading

A list that infinitely loads content as user scrolls down in React
https://www.npmjs.com/package/react-simple-infinite-loading
Apache License 2.0
59 stars 13 forks source link

Add infinite loading when scrolling up #35

Open nabiltkarim opened 4 years ago

nabiltkarim commented 4 years ago

What I mean is a list where you have to scroll up to load older items.

Is there a "reverse" prop somewhere?

frinyvonnick commented 4 years ago

Hi @nabiltkarim, There isn't a "reverse" prop. Do you have some use case examples of list that loads scrolling up?

nabiltkarim commented 4 years ago

Thanks for clarification @frinyvonnick. One use case example would be to load the previous chats once you scroll up in a chat.

frinyvonnick commented 4 years ago

Oh nice didn't thought about that. Like Slack when you join a channel. Would you like to work on this feature @nabiltkarim?

jspizziri commented 4 years ago

Just an FYI, the underlying library doesn't really support scrolling in both directions:

https://github.com/bvaughn/react-window/issues/317

DimDimShishkov commented 6 days ago

hello, @frinyvonnick any updates?