From d295e94c3a43b4fad4b00788597631006388e0e2 Mon Sep 17 00:00:00 2001 From: Reed Garmsen Date: Sun, 30 Aug 2015 09:58:51 -0700 Subject: Removes ability to auto-scroll to new messages in ie10/11 to fix rendering issue --- web/react/components/post_list.jsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/web/react/components/post_list.jsx b/web/react/components/post_list.jsx index 865a22dbd..280753cd9 100644 --- a/web/react/components/post_list.jsx +++ b/web/react/components/post_list.jsx @@ -511,9 +511,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(
-- cgit v1.2.3-1-g7c22