Highlight newly added replies in thread view (#36237)
This commit is contained in:
1 parent
23a69e3bd7
commit
059bf1e980
3 files changed
+28
-1
No files matched your search
@@ -118,6 +118,7 @@ class Status extends ImmutablePureComponent {
|
||||
unread: PropTypes.bool,
|
||||
showThread: PropTypes.bool,
|
||||
isQuotedPost: PropTypes.bool,
|
||||
shouldHighlightOnMount: PropTypes.bool,
|
||||
getScrollPosition: PropTypes.func,
|
||||
updateScrollBottom: PropTypes.func,
|
||||
cacheMediaWidth: PropTypes.func,
|
||||
@@ -567,6 +568,7 @@ class Status extends ImmutablePureComponent {
|
||||
'status--first-in-thread': previousId && (!connectUp || connectToRoot), muted: this.props.muted,
|
||||
'status--is-quote': isQuotedPost,
|
||||
'status--has-quote': !!status.get('quote'),
|
||||
'status--highlighted-entry': this.props.shouldHighlightOnMount,
|
||||
})
|
||||
}
|
||||
data-id={status.get('id')}
|
||||
|
||||
Reference in new issue
Block a user