Fix various team UI issues

This commit is contained in:
yflory
2019-10-04 17:31:12 +02:00
parent 7a8908c93e
commit db2f233c44
5 changed files with 27 additions and 4 deletions

View File

@@ -892,6 +892,7 @@ define([
// Arrow keys to modify the selection
var onWindowKeydown = function (e) {
if (!$content.is(':visible')) { return; }
var $searchBar = $tree.find('#cp-app-drive-tree-search-input');
if (document.activeElement && document.activeElement.nodeName === 'INPUT') { return; }
if ($searchBar.is(':focus') && $searchBar.val()) { return; }