1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-06-27 15:01:53 +03:00

Add allowLooping opt for tab completion. Make peeking work.

This commit is contained in:
Kegan Dougal
2015-12-21 17:16:49 +00:00
parent ab0a277d94
commit 4e79c3c4c8
2 changed files with 27 additions and 18 deletions

View File

@ -91,6 +91,7 @@ module.exports = React.createClass({
this.tabComplete = new TabComplete({
startingWordSuffix: ": ",
wordSuffix: " ",
allowLooping: false,
onStateChange: (isCompleting) => {
this.forceUpdate();
}