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] Reverse direction support #247

Closed
GonzaloRizzo opened this issue May 21, 2019 · 9 comments
Closed

[Feature Request] Reverse direction support #247

GonzaloRizzo opened this issue May 21, 2019 · 9 comments
Labels
💬 question Further information is requested

Comments

@GonzaloRizzo
Copy link

Is there any plans to implement something like reverse direction support? I'm currently implementing a chat application and it would be very handy

There seems to be some work done here https://github.com/corupta/react-window/tree/npm

@bvaughn
Copy link
Owner

bvaughn commented May 21, 2019

No current plans, no

@bvaughn bvaughn closed this as completed May 21, 2019
@bvaughn bvaughn added the 💬 question Further information is requested label May 21, 2019
@joshfarrant
Copy link

@bvaughn Would you be open to a PR that adds reverse direction support, possibly behind a reversed={true || false} prop?

@bvaughn
Copy link
Owner

bvaughn commented Jul 25, 2019

@joshfarrant Feel free to create a PR. I'll be happy to review it, but I won't make any promises about it landing.

I would say that I think layout="vertical-reverse" (or something similar) would maybe make more sense. We already have direction and layout props. I don't want to be in a place where someone could set layout="horizontal" direction="rtl" reverse={true} because I don't even know what that would mean.

@joshfarrant
Copy link

Thanks for the quick response. Agree that layout="vertical-reverse" makes more sense. I'll have a look into it and let you know if I make any progress.

@kindmind
Copy link

kindmind commented Dec 25, 2019

@GonzaloRizzo what did you end up moving forward with for your chat application? I'm looking for ideas as I go about implementing chat-like functionality that requires reverse virtualized-list functionality.

@vinujan59
Copy link

Anyone working on this feature? is there any workaround for this?

@michaeljguarino
Copy link

I'd be interested if anyone has done this in a fork as well. There's react-window-reversed, but it appears to use css transforms which seems far less than ideal.

@getnashty
Copy link

@michaeljguarino @vinujan59 sorry for the old thread, but did either of you find a solution you liked for reverse direction? I'm currently using a dynamically sized header, but it makes things pretty complex.

@ljs19923
Copy link

The reverse mode has been added? Really useful for a chat mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💬 question Further information is requested
Projects
None yet
Development

No branches or pull requests

8 participants