2
0
Эх сурвалжийг харах

Bugfix. Don't scroll down when user manually scrolled up

JC Brand 5 жил өмнө
parent
commit
58d018e868

+ 0 - 1
src/components/chat_content.js

@@ -30,7 +30,6 @@ class ChatContent extends CustomElement {
         if (!this.chatview.model.get('scrolled')) {
             this.parentElement.scrollTop = this.parentElement.scrollHeight;
         }
-        this.parentElement.scrollTop = this.parentElement.scrollHeight;
     }
 
     updated () {