1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-13 08:02:38 +03:00

turn off force complete when editor content changes

This commit is contained in:
Aviral Dasgupta
2017-02-10 23:44:04 +05:30
parent e65744abdc
commit 2d39b25334

View File

@@ -75,10 +75,10 @@ export default class Autocomplete extends React.Component {
} else {
selectionOffset++; // selectionOffset is 1-indexed!
}
} else {
}
// If no completions were returned, we should turn off force completion.
forceComplete = false;
}
let hide = this.state.hide;
// These are lists of booleans that indicate whether whether the corresponding provider had a matching pattern