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

Fix jumping to read marker for events without tiles
This commit is contained in:
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

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