Parcourir la source

Wasn't explicitly scrolling down if the chat was already visible.

JC Brand il y a 9 ans
Parent
commit
128317692d
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      src/converse-chatview.js

+ 2 - 0
src/converse-chatview.js

@@ -347,6 +347,8 @@
                     }
                     }
                     if (this.shouldShowOnTextMessage()) {
                     if (this.shouldShowOnTextMessage()) {
                         this.show();
                         this.show();
+                    } else {
+                        this.scrollDown();
                     }
                     }
                 },
                 },