mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-12 05:44:18 -05:00
Fixed scroll flickering when opening the room
This commit is contained in:
parent
a284de73e6
commit
890178cf25
@ -676,6 +676,10 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput'])
|
|||||||
var onInit2 = function() {
|
var onInit2 = function() {
|
||||||
console.log("onInit2");
|
console.log("onInit2");
|
||||||
|
|
||||||
|
// Scroll down as soon as possible so that we point to the last message
|
||||||
|
// if it already exists in memory
|
||||||
|
scrollToBottom(true);
|
||||||
|
|
||||||
// Make sure the initialSync has been before going further
|
// Make sure the initialSync has been before going further
|
||||||
eventHandlerService.waitForInitialSyncCompletion().then(
|
eventHandlerService.waitForInitialSyncCompletion().then(
|
||||||
function() {
|
function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user