Parcourir la source

Only apply scroll-glue when close to the bottom

Suggested by @heckenmann, thanks!
Danilo Bargen il y a 7 ans
Parent
commit
b83f7eb405
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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">