Answer the question
In order to leave comments, you need to log in
Scroll like in telegram?
Tell me, please, there is a block (div) with a list of messages (div). How to make it so that when the scroll appears, it is at the bottom and scrolls from bottom to top?
Which way to look?
Answer the question
In order to leave comments, you need to log in
You can automatically determine the bottom of the page, for example, assign an id to div and force the scroll down using JS. This is to the question "In which direction to look." Regarding the implementation, in jQuery you can do something like this$('body, html').scrollTop($(document).height());
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question