1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

stop ctrl-tab etc from triggering an autocomplete

This commit is contained in:
Matthew Hodgson
2016-04-10 14:27:30 +01:00
parent 2e772e2f19
commit 825e6702ef

View File

@@ -219,6 +219,9 @@ class TabComplete {
return; return;
} }
// ctrl-tab/alt-tab etc shouldn't trigger a complete
if (ev.ctrlKey || ev.metaKey || ev.altKey) return;
// tab key has been pressed at this point // tab key has been pressed at this point
this.handleTabPress(false, ev.shiftKey) this.handleTabPress(false, ev.shiftKey)