Merge pull request #211 from matrix-org/rav/update_scrollpanel_on_topbar
Update the gemini panel when we show/hide the TopUnreadMessagesBarpull/21833/head
						commit
						f985232d29
					
				|  | @ -920,7 +920,10 @@ module.exports = React.createClass({ | |||
|         // screen.
 | ||||
|         var showBar = (pos < 0); | ||||
| 
 | ||||
|         this.setState({showTopUnreadMessagesBar: showBar}); | ||||
|         if (this.state.showTopUnreadMessagesBar != showBar) { | ||||
|             this.setState({showTopUnreadMessagesBar: showBar}, | ||||
|                           this.onChildResize); | ||||
|         } | ||||
|     }, | ||||
| 
 | ||||
|     // get the current scroll position of the room, so that it can be
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Richard van der Hoff
						Richard van der Hoff