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
Этот коммит содержится в:
Corey Hulen
2015-08-30 20:58:56 -07:00
родитель 07bdbf21f5 d295e94c3a
Коммит d7164fdd47

Просмотреть файл

@@ -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'
>