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
No current plans, no
@bvaughn Would you be open to a PR that adds reverse direction support, possibly behind a reversed={true || false} prop?
@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.
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.
@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.
Anyone working on this feature? is there any workaround for this?
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.
Most helpful comment
@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.