diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-07-05 16:28:32 -0400 |
---|---|---|
committer | enahum <nahumhbl@gmail.com> | 2017-07-05 16:28:32 -0400 |
commit | 04e364f4f7f9e132c9929f44851a5608a5c0bf21 (patch) | |
tree | 5d821e69c2a8db7254f9c6afa13bf3f4955a3736 /webapp/components/create_post.jsx | |
parent | d59cac0314b4cec2c2dd5dca305928e2b363928a (diff) | |
download | chat-04e364f4f7f9e132c9929f44851a5608a5c0bf21.tar.gz chat-04e364f4f7f9e132c9929f44851a5608a5c0bf21.tar.bz2 chat-04e364f4f7f9e132c9929f44851a5608a5c0bf21.zip |
Do not scroll center channel to bottom when posting in RHS (#6852)
Diffstat (limited to 'webapp/components/create_post.jsx')
-rw-r--r-- | webapp/components/create_post.jsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webapp/components/create_post.jsx b/webapp/components/create_post.jsx index 56f392292..4a2cf5302 100644 --- a/webapp/components/create_post.jsx +++ b/webapp/components/create_post.jsx @@ -261,7 +261,8 @@ export default class CreatePost extends React.Component { }); } - PostActions.createPost(post, this.state.fileInfos, null, + PostActions.createPost(post, this.state.fileInfos, + () => GlobalActions.postListScrollChange(true), (err) => { if (err.id === 'api.post.create_post.root_id.app_error') { // this should never actually happen since you can't reply from this textbox |