Skip to content

Commit 88e724e

Browse files
Fixing issue with mention selection
1 parent 5db6d54 commit 88e724e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/AutoCompleteInput.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,10 @@ class AutoCompleteInput extends React.PureComponent {
224224
if (
225225
text.slice(selectionEnd - 1, selectionEnd) === ' ' &&
226226
!this.state.isTrackingStarted
227-
)
227+
) {
228+
this.stopTracking();
228229
return;
230+
}
229231

230232
if (this.handleCommand(text)) return;
231233

0 commit comments

Comments
 (0)