the-substance icon indicating copy to clipboard operation
the-substance copied to clipboard

Start everything from bottom

Open bayerlse opened this issue 4 years ago • 0 comments

Hey there!

First of all: very nice project, I really like it!

I just tried out, how to start the scrolling from bottom but I am not really able to enable that correctly. If Im trying to set the state.top.current = scrollArea.current.scrollHeight in Apps Component useEffect function initially and also set scrollArea.current.scrollTo({ top: scrollArea.current.scrollHeight, behavior: 'auto' }); there, it will start from bottom, but first it will scroll down all the way. So the problem is, you see every block scrolling down automatically.

Can you give a hint, how to start from bottom corerctly, withtout the problem that all the components are visible scrolled down?

Thanks and best regards,

Sebastian

bayerlse avatar Mar 15 '20 11:03 bayerlse