Replies: 2 comments 2 replies
-
|
(reposting my response from Discord for public visibility) It is absolutely possible. I just did it in an app, but it's not open source yet. But it did take a few weeks to figure out the best way to do it and make everything smooth. So hopefully we'll be able to open source it soon. Basically the way we did it is to send a message and use useLayoutEffect to immediately measure it and set a "blankSize" in the last message. Then you can scrollToEnd to scroll it to the top of the screen. For even more control we used react-native-keyboard-controller hooks to set contentOffset as an animated prop to scroll it to the top. |
Beta Was this translation helpful? Give feedback.
-
|
I'm also looking for a solution for this |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
hi, been trying to figure out how to emulate ChatGPT behavior where the most recent message snaps to the top when you send a message. is this possible?
ScreenRecording_10-04-2025.17-14-55_1.MP4
thank you @jmeistrich btw - LegendList is great
Beta Was this translation helpful? Give feedback.
All reactions