You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
Merge pull request #3735 from matrix-org/t3chguy/address_picker_dialog_tab_trap
Stop trapping tab in AddressPickerDialog
This commit is contained in:
@@ -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]);
|
||||||
|
|||||||
Reference in New Issue
Block a user