mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
stop ctrl-tab etc from triggering an autocomplete
This commit is contained in:
parent
2e772e2f19
commit
825e6702ef
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue