ScrollArea vertical reversed #1449
Replies: 2 comments 13 replies
-
Hey @Miloshinjo, I'm guessing it was you who asked on twitter also, I replied there: https://twitter.com/benoitgrelard/status/1533783056707878913
It looks like I was spot-on with what your use-case was! haha
Regarding this, could you provide a sandbox so I could see the issue?
Typically the way this would be implemented wouldn't be to reverse the order of the elements, but rather to control the scroll position. You'd run an effect to scroll to the bottom automatically anytime a new message is added. |
Beta Was this translation helpful? Give feedback.
-
I replied with a solution for my usecase in similar issue #1585 |
Beta Was this translation helpful? Give feedback.
-
Hello,
I have a task where I need to make scroll area scroll from bottom -> top. Easiest way to do this is via
column-reverse
from flexbox, but UI looks fine, but thumb is not moving when I'm scrolling. Is there something I'm doing wrong, and also, does ScrollArea support that kind of behavior?Example: Imaging scrolling slack chat from bottom to top. That's the behaviour I'm trying to implement with ScrollArea.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions