mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
Merge pull request #253 from matrix-org/rav/fix_jump_to_read_marker
Don't reload the DOM if we can jump straight to the RM
This commit is contained in:
commit
ec8fecb953
@ -444,6 +444,7 @@ var TimelinePanel = React.createClass({
|
||||
// the relevant event.
|
||||
this.refs.messagePanel.scrollToEvent(this.state.readMarkerEventId,
|
||||
0, 1/3);
|
||||
return;
|
||||
}
|
||||
|
||||
// Looks like we haven't loaded the event corresponding to the read-marker.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user