[Perf] Forum Panel: Animate forum icons only when in viewport (#3141)
This commit is contained in:
parent
874df51d22
commit
cebbda28cf
@ -157,7 +157,7 @@ const Topic: FC<OwnProps & StateProps> = ({
|
||||
<div className="info">
|
||||
<div className="info-row">
|
||||
<div className={buildClassName('title')}>
|
||||
<TopicIcon topic={topic} className={styles.topicIcon} />
|
||||
<TopicIcon topic={topic} className={styles.topicIcon} observeIntersection={observeIntersection} />
|
||||
<h3 dir="auto" className="fullName">{renderText(topic.title)}</h3>
|
||||
</div>
|
||||
{topic.isMuted && <i className="icon icon-muted" />}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user