You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-12-05 15:22:09 +03:00
Fix issue with thread panel not updating when it loads on first render (#8382)
This commit is contained in:
committed by
GitHub
parent
495a69532d
commit
763edb7ab9
@@ -1188,11 +1188,8 @@ class TimelinePanel extends React.Component<IProps, IState> {
|
||||
const onLoaded = () => {
|
||||
if (this.unmounted) return;
|
||||
|
||||
// clear the timeline min-height when
|
||||
// (re)loading the timeline
|
||||
if (this.messagePanel.current) {
|
||||
this.messagePanel.current.onTimelineReset();
|
||||
}
|
||||
// clear the timeline min-height when (re)loading the timeline
|
||||
this.messagePanel.current?.onTimelineReset();
|
||||
this.reloadEvents();
|
||||
|
||||
// If we switched away from the room while there were pending
|
||||
|
||||
Reference in New Issue
Block a user