mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 04:15:17 +00:00
Fix scrolling
This commit is contained in:
@ -330,7 +330,7 @@ const ConversationPageConvPart = {
|
||||
//Set a timeout to make scroll properly work (for newest messages)
|
||||
if(toLatestMessages){
|
||||
setTimeout(function(){
|
||||
messageContainer.scrollIntoView(false)
|
||||
messageContainer.parentNode.scrollTop = messageContainer.parentNode.scrollHeight
|
||||
}, 100);
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user