Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Fix one variant of a scroll jump that occurs when decrypting an m.text #1656

Merged
merged 3 commits into from
Dec 15, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/components/views/rooms/EventTile.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ module.exports = withMatrixClient(React.createClass({
this.setState({
verified: verified,
});
this.props.onWidgetLoad();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be in the setState callback, so it happens after the content is rendered?

},

_propsEqual: function(objA, objB) {
Expand Down