summaryrefslogtreecommitdiffstats
path: root/web/react/components/post_list.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-09-21 12:19:57 -0400
committerChristopher Speller <crspeller@gmail.com>2015-09-21 12:19:57 -0400
commitee5a77ec56ee13f5eb96fce6065b4b7a1845de89 (patch)
treeecbc93078768643f771921ce885739db9a2ec2cd /web/react/components/post_list.jsx
parent977ab87d4a9d809a2db12bd3d80cd1c4bbd38be4 (diff)
parent3e868a6042123dae02814d70aa05533d61e9283e (diff)
downloadchat-ee5a77ec56ee13f5eb96fce6065b4b7a1845de89.tar.gz
chat-ee5a77ec56ee13f5eb96fce6065b4b7a1845de89.tar.bz2
chat-ee5a77ec56ee13f5eb96fce6065b4b7a1845de89.zip
Merge pull request #734 from mattermost/plt-206
PLT-206 Fix first channel load scrolling issue on Windows and iOS and add emoji to RHS.
Diffstat (limited to 'web/react/components/post_list.jsx')
-rw-r--r--web/react/components/post_list.jsx1
1 files changed, 1 insertions, 0 deletions
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);