summary refs log tree commit diff
path: root/webclient/room/room.html
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-09-17 17:12:52 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-09-17 17:13:07 +0200
commit246f5d2e2023510c963f6f8475e2605e9e3a9f16 (patch)
tree19f24950e0d6eb07d1a97c14f1209cc083b4a1d7 /webclient/room/room.html
parentSYWEB-3 : Added 'visibility' key to rooms returned via /initialSync (diff)
downloadsynapse-246f5d2e2023510c963f6f8475e2605e9e3a9f16.tar.xz
SYWEB-30: BF: When switching between rooms, pagination flickered between the top of the room before jumping to the bottom of the page
Diffstat (limited to 'webclient/room/room.html')
-rw-r--r--webclient/room/room.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/webclient/room/room.html b/webclient/room/room.html
index fc22db7610..44a0e34d9f 100644
--- a/webclient/room/room.html
+++ b/webclient/room/room.html
@@ -56,7 +56,10 @@
         </table>
     </div>
     
-    <div id="messageTableWrapper" ng-hide="state.permission_denied" keep-scroll>
+    <div id="messageTableWrapper" 
+         ng-hide="state.permission_denied" 
+         ng-style="{ 'visibility': state.messages_visibility }"
+         keep-scroll>
         <!-- FIXME: need to have better timestamp semantics than the (msg.content.hsob_ts || msg.ts) hack below -->
         <table id="messageTable" infinite-scroll="paginateMore()">
             <tr ng-repeat="msg in events.rooms[room_id].messages"