Browse Source

fix(invite-members): Let tab do it's default thing (#25910)

When tabbing away, we will by default create an entry in the
multi-select box. It's likely the user _also_ wants to go to the next
input.
Evan Purkhiser 3 years ago
parent
commit
5806677f64

+ 0 - 1
static/app/components/modals/inviteMembersModal/inviteRowControl.tsx

@@ -61,7 +61,6 @@ class InviteRowControl extends React.Component<Props, State> {
     const {inputValue} = this.state;
     switch (event.key) {
       case 'Enter':
-      case 'Tab':
       case ',':
       case ' ':
         onChangeEmails([...mapToOptions(emails), {label: inputValue, value: inputValue}]);