diff --git a/src/app/pages/chat/group-messages/group-messages.page.ts b/src/app/pages/chat/group-messages/group-messages.page.ts index b40fe5c7b..6235a3423 100644 --- a/src/app/pages/chat/group-messages/group-messages.page.ts +++ b/src/app/pages/chat/group-messages/group-messages.page.ts @@ -58,7 +58,7 @@ export class GroupMessagesPage implements OnInit, AfterViewChecked { } ngAfterViewChecked() { - this.scrollToBottom(); + //this.scrollToBottom(); } scrollToBottom(): void { @@ -248,7 +248,7 @@ export class GroupMessagesPage implements OnInit, AfterViewChecked { await this.serverLongPull(); console.log('Timer message running') } - + } else { // Got message //let message = await response.text(); diff --git a/src/app/pages/chat/messages/messages.page.ts b/src/app/pages/chat/messages/messages.page.ts index 775530438..6dbb2047f 100644 --- a/src/app/pages/chat/messages/messages.page.ts +++ b/src/app/pages/chat/messages/messages.page.ts @@ -75,7 +75,7 @@ export class MessagesPage implements OnInit, AfterViewChecked { } ngAfterViewChecked() { - this.scrollToBottom(); + //this.scrollToBottom(); } scrollToBottom(): void { @@ -174,7 +174,7 @@ async openChatOptions(ev?: any) { await this.serverLongPull(); console.log('Timer message running') } - + } else { // Got message //let message = await response.text(); diff --git a/src/app/shared/chat/group-messages/group-messages.page.ts b/src/app/shared/chat/group-messages/group-messages.page.ts index 1e780845d..8affbd4de 100644 --- a/src/app/shared/chat/group-messages/group-messages.page.ts +++ b/src/app/shared/chat/group-messages/group-messages.page.ts @@ -64,7 +64,7 @@ export class GroupMessagesPage implements OnInit, OnChanges, AfterViewChecked { } ngAfterViewChecked() { - this.scrollToBottom(); + //this.scrollToBottom(); } scrollToBottom(): void { @@ -392,7 +392,7 @@ export class GroupMessagesPage implements OnInit, OnChanges, AfterViewChecked { await this.serverLongPull(); console.log('Timer message running') } - + } else { // Got message //let message = await response.text(); diff --git a/src/app/shared/chat/messages/messages.page.ts b/src/app/shared/chat/messages/messages.page.ts index e903c546f..3111da46c 100644 --- a/src/app/shared/chat/messages/messages.page.ts +++ b/src/app/shared/chat/messages/messages.page.ts @@ -92,7 +92,7 @@ export class MessagesPage implements OnInit, AfterViewChecked, OnChanges { } ngAfterViewChecked() { - this.scrollToBottom(); + //this.scrollToBottom(); } scrollToBottom(): void {