Skip to content

Commit ec66fb8

Browse files
author
Tom Hutman
committed
force close autocomplete suggestions on submit
1 parent 65aff45 commit ec66fb8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/AutoCompleteTextarea/Textarea.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ class ReactTextareaAutocomplete extends React.Component {
130130
this.textareaRef.selectionEnd = 0;
131131
}
132132
this.props.handleSubmit(event);
133+
this._closeAutocomplete();
133134
}
134135
};
135136

0 commit comments

Comments
 (0)