Fix jump to bottom on message send (#7280)
Co-authored-by: Germain <germain@souquet.com>pull/21833/head
parent
9bcb82d6dc
commit
5e19009e02
|
@ -929,7 +929,7 @@ export class RoomView extends React.Component<IRoomProps, IRoomState> {
|
||||||
}
|
}
|
||||||
|
|
||||||
case "scroll_to_bottom":
|
case "scroll_to_bottom":
|
||||||
if (payload.timelineRenderingType === this.context.timelineRenderingType) {
|
if (payload.timelineRenderingType === TimelineRenderingType.Room) {
|
||||||
this.messagePanel?.jumpToLiveTimeline();
|
this.messagePanel?.jumpToLiveTimeline();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue