mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-22 23:11:12 +02:00
jumpToLiveTimeline() on scroll_to_bottom
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
e223235999
commit
a4a3b4da78
@ -463,6 +463,9 @@ class TimelinePanel extends React.Component {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
if (payload.action === "scroll_to_bottom") {
|
||||||
|
this.jumpToLiveTimeline();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
onRoomTimeline = (ev, room, toStartOfTimeline, removed, data) => {
|
onRoomTimeline = (ev, room, toStartOfTimeline, removed, data) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user