Skip to content

Commit 0140338

Browse files
authored
Merge pull request matrix-org#3735 from matrix-org/t3chguy/address_picker_dialog_tab_trap
Stop trapping tab in AddressPickerDialog
2 parents 3a8ab6e + 17463c4 commit 0140338

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/views/dialogs/AddressPickerDialog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ module.exports = createReactClass({
174174
} else {
175175
this._addAddressesToList([textInput]);
176176
}
177-
} else if (e.key === Key.COMMA || e.key === Key.TAB) {
177+
} else if (textInput && (e.key === Key.COMMA || e.key === Key.TAB)) {
178178
e.stopPropagation();
179179
e.preventDefault();
180180
this._addAddressesToList([textInput]);

0 commit comments

Comments
 (0)