Merge pull request #4860 from matrix-org/jryans/read-marker-jump-invis-2

Fix jumping to read marker for events without tiles
pull/21833/head
J. Ryan Stinnett 2020-06-30 23:01:19 +01:00 committed by GitHub
commit b456529c3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -388,8 +388,11 @@ export default class MessagePanel extends React.Component {
}
return (
<li key={"readMarker_"+eventId} ref={this._readMarkerNode}
className="mx_RoomView_myReadMarker_container">
<li key={"readMarker_"+eventId}
ref={this._readMarkerNode}
className="mx_RoomView_myReadMarker_container"
data-scroll-tokens={eventId}
>
{ hr }
</li>
);