From 3e868a6042123dae02814d70aa05533d61e9283e Mon Sep 17 00:00:00 2001
From: JoramWilander <jwawilander@gmail.com>
Date: Mon, 21 Sep 2015 11:30:08 -0400
Subject: Fix first channel load scrolling issue on Windows and iOS and add
 emoji to RHS.

---
 web/react/components/post_list.jsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'web/react/components/post_list.jsx')

diff --git a/web/react/components/post_list.jsx b/web/react/components/post_list.jsx
index 94cccaac3..703e548fb 100644
--- a/web/react/components/post_list.jsx
+++ b/web/react/components/post_list.jsx
@@ -83,6 +83,7 @@ export default class PostList extends React.Component {
         };
     }
     componentDidMount() {
+        window.onload = () => this.scrollToBottom();
         if (this.props.isActive) {
             this.activate();
             this.loadFirstPosts(this.props.channelId);
-- 
cgit v1.2.3-1-g7c22

