You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Tab can now be used for selection of address from list, as well as adding a manual mxid or email address
This commit is contained in:
@@ -55,7 +55,7 @@ module.exports = React.createClass({
|
||||
}
|
||||
},
|
||||
|
||||
onKeyUpArrow: function() {
|
||||
onKeyUp: function() {
|
||||
if (this.state.selected > 0) {
|
||||
this.setState({
|
||||
selected: this.state.selected - 1,
|
||||
@@ -64,7 +64,7 @@ module.exports = React.createClass({
|
||||
}
|
||||
},
|
||||
|
||||
onKeyDownArrow: function() {
|
||||
onKeyDown: function() {
|
||||
if (this.state.selected < this._maxSelected(this.props.addressList)) {
|
||||
this.setState({
|
||||
selected: this.state.selected + 1,
|
||||
@@ -73,7 +73,7 @@ module.exports = React.createClass({
|
||||
}
|
||||
},
|
||||
|
||||
onKeyReturn: function() {
|
||||
onKeySelect: function() {
|
||||
this.selectAddress(this.state.selected);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user