Hello.
When the user enters the room for the first time, I want to scroll the page down. I use Ajax, I want the user to read past messages. In this way, it scroll down in every new message.
var messages=app.messages.create({
scrollMessages: true,
scrollMessagesOnEdge: false
});
working fine for the first.
I want to change this rule after the scroll the page down.
var messages=app.messages.create({
scrollMessages: false,
scrollMessagesOnEdge: true
});
but not working. It does not change the initial setting.