fix bugs, experiment with focus pulling, make it vaguely work

This commit is contained in:
Matthew Hodgson 2017-04-18 02:43:29 +01:00
parent da569c2c8d
commit 9591ad31e6
2 changed files with 136 additions and 11 deletions

View file

@ -112,9 +112,9 @@ module.exports = React.createClass({
}
},
onFocus: function() {
onFocus: function(event) {
if (this.props.onFocus) {
this.props.onFocus(this.props.room.roomId);
this.props.onFocus(this.props.room.roomId, event);
}
},