Browse Source

Only apply scroll-glue when close to the bottom

Suggested by @heckenmann, thanks!
Danilo Bargen 7 years ago
parent
commit
b83f7eb405
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/partials/messenger.conversation.html

+ 1 - 1
src/partials/messenger.conversation.html

@@ -36,7 +36,7 @@
         </md-card>
     </div>
 
-    <div id="conversation-chat" scroll-glue in-view-container ng-show="!ctrl.locked">
+    <div id="conversation-chat" scroll-glue="!ctrl.showScrollJump" in-view-container ng-show="!ctrl.locked">
         <ul class="chat">
             <li in-view="$inview && !ctrl.locked && ctrl.topOfChat()" class="load-more">
                 <div ng-if="ctrl.hasMoreMessages()" class="loading">