diff options
author | Corey Hulen <corey@hulen.com> | 2015-08-30 20:58:56 -0700 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-08-30 20:58:56 -0700 |
commit | d7164fdd4712817ac40f6c9d6aea775667d88c12 (patch) | |
tree | f706eb1d12e1b79d4eb5da1bb0e9a113909fe4d7 /web | |
parent | 07bdbf21f5dd14ecab85f1cfdced701a5e981d2f (diff) | |
parent | d295e94c3a43b4fad4b00788597631006388e0e2 (diff) | |
download | chat-d7164fdd4712817ac40f6c9d6aea775667d88c12.tar.gz chat-d7164fdd4712817ac40f6c9d6aea775667d88c12.tar.bz2 chat-d7164fdd4712817ac40f6c9d6aea775667d88c12.zip |
Merge pull request #521 from rgarmsen2295/mm-2044
MM-2044 Removes ability to auto-scroll to new messages in ie10/11 to fix rendering issue
Diffstat (limited to 'web')
-rw-r--r-- | web/react/components/post_list.jsx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/web/react/components/post_list.jsx b/web/react/components/post_list.jsx index f8cfdb2ab..fa8b5e918 100644 --- a/web/react/components/post_list.jsx +++ b/web/react/components/post_list.jsx @@ -534,9 +534,15 @@ export default class PostList extends React.Component { if (post.user_id !== userId && post.create_at > this.state.lastViewed && !renderedLastViewed) { renderedLastViewed = true; + + // Temporary fix to solve ie10/11 rendering issue + let newSeparatorId = ''; + if (!utils.isBrowserIE()) { + newSeparatorId = 'new_message'; + } postCtls.push( <div - id='new_message' + id={newSeparatorId} key='unviewed' className='new-separator' > |