This commit is contained in:
tiago.kayaya
2021-09-27 14:52:47 +01:00
parent d3a9cf17ba
commit 1f146feac9
2 changed files with 0 additions and 5 deletions
@@ -153,7 +153,6 @@ export class MessagesPage implements OnInit, AfterViewInit, OnDestroy {
this.scrollToBottomBtn = false;
}
this.currentPosition = scroll;
console.log(this.currentPosition);
}
@@ -141,10 +141,6 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
let scroll = e.srcElement.scrollTop;
let windowHeight = e.srcElement.scrollHeight;
let containerHeight = windowHeight - e.srcElement.clientHeight;
console.log(containerHeight);
console.log(e.srcElement.clientHeight);
if (scroll > this.currentPosition) {
//alert('BOTTOM');