mirror of https://github.com/vector-im/riot-web
Fix one read receipt randomly not appearing
The velociraptor was only actioning hidden -> visible transitions if the position had changed, so the one RR that stayed in position but became visible... didn't become visible.pull/21833/head
parent
4ab479594b
commit
42f75e1740
|
@ -62,11 +62,11 @@ module.exports = React.createClass({
|
||||||
oldNode.style.visibility = c.props.style.visibility;
|
oldNode.style.visibility = c.props.style.visibility;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
//console.log("translation: "+oldNode.style.left+" -> "+c.props.style.left);
|
||||||
|
}
|
||||||
if (oldNode.style.visibility == 'hidden' && c.props.style.visibility == 'visible') {
|
if (oldNode.style.visibility == 'hidden' && c.props.style.visibility == 'visible') {
|
||||||
oldNode.style.visibility = c.props.style.visibility;
|
oldNode.style.visibility = c.props.style.visibility;
|
||||||
}
|
}
|
||||||
//console.log("translation: "+oldNode.style.left+" -> "+c.props.style.left);
|
|
||||||
}
|
|
||||||
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 New Issue