mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-02 16:25:56 +03:00
Merge pull request #672 from matrix-org/dbkr/velociraptor_always_change_visibility
Fix one read receipt randomly not appearing
This commit is contained in:
commit
1fc5c9ddcc
1 changed files with 3 additions and 3 deletions
|
@ -62,11 +62,11 @@ module.exports = React.createClass({
|
||||||
oldNode.style.visibility = c.props.style.visibility;
|
oldNode.style.visibility = c.props.style.visibility;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (oldNode.style.visibility == 'hidden' && c.props.style.visibility == 'visible') {
|
|
||||||
oldNode.style.visibility = c.props.style.visibility;
|
|
||||||
}
|
|
||||||
//console.log("translation: "+oldNode.style.left+" -> "+c.props.style.left);
|
//console.log("translation: "+oldNode.style.left+" -> "+c.props.style.left);
|
||||||
}
|
}
|
||||||
|
if (oldNode.style.visibility == 'hidden' && c.props.style.visibility == 'visible') {
|
||||||
|
oldNode.style.visibility = c.props.style.visibility;
|
||||||
|
}
|
||||||
self.children[c.key] = old;
|
self.children[c.key] = old;
|
||||||
} else {
|
} else {
|
||||||
// new element. If we have a startStyle, use that as the style and go through
|
// new element. If we have a startStyle, use that as the style and go through
|
||||||
|
|
Loading…
Reference in a new issue