Merge pull request #3735 from matrix-org/t3chguy/address_picker_dialog_tab_trap
Stop trapping tab in AddressPickerDialogpull/21833/head
commit
0140338ac5
|
@ -174,7 +174,7 @@ module.exports = createReactClass({
|
||||||
} else {
|
} else {
|
||||||
this._addAddressesToList([textInput]);
|
this._addAddressesToList([textInput]);
|
||||||
}
|
}
|
||||||
} else if (e.key === Key.COMMA || e.key === Key.TAB) {
|
} else if (textInput && (e.key === Key.COMMA || e.key === Key.TAB)) {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
this._addAddressesToList([textInput]);
|
this._addAddressesToList([textInput]);
|
||||||
|
|
Loading…
Reference in New Issue