Removes ability to auto-scroll to new messages in ie10/11 to fix rendering issue
Этот коммит содержится в:
@@ -511,9 +511,15 @@ export default class PostList extends React.Component {
|
|||||||
|
|
||||||
if (post.user_id !== userId && post.create_at > this.state.lastViewed && !renderedLastViewed) {
|
if (post.user_id !== userId && post.create_at > this.state.lastViewed && !renderedLastViewed) {
|
||||||
renderedLastViewed = true;
|
renderedLastViewed = true;
|
||||||
|
|
||||||
|
// Temporary fix to solve ie10/11 rendering issue
|
||||||
|
let newSeparatorId = '';
|
||||||
|
if (!utils.isBrowserIE()) {
|
||||||
|
newSeparatorId = 'new_message';
|
||||||
|
}
|
||||||
postCtls.push(
|
postCtls.push(
|
||||||
<div
|
<div
|
||||||
id='new_message'
|
id={newSeparatorId}
|
||||||
key='unviewed'
|
key='unviewed'
|
||||||
className='new-separator'
|
className='new-separator'
|
||||||
>
|
>
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user