1
0
mirror of https://github.com/element-hq/element-web.git synced 2025-12-01 09:58:03 +03:00

Fix jump to bottom on message send (#7280)

Co-authored-by: Germain <germain@souquet.com>
This commit is contained in:
Šimon Brandner
2021-12-06 15:32:15 +01:00
committed by GitHub
parent 9bcb82d6dc
commit 5e19009e02

View File

@@ -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;