NIFI-6126 - Change nf-canvas to respond to keyup events rather than keydown

This closes #3376
This commit is contained in:
Rob Fellows 2019-03-18 10:14:24 -04:00 committed by Matt Gilman
parent 43235724e2
commit 6401e32a33
No known key found for this signature in database
GPG Key ID: DF61EC19432AEE37
1 changed files with 1 additions and 1 deletions

View File

@ -708,7 +708,7 @@
nfCommon.toggleScrollable(tabsContent.get(0));
});
}
}).on('keydown', function (evt) {
}).on('keyup', function (evt) {
// if a dialog is open, disable canvas shortcuts
if ($('.dialog').is(':visible') || $('#search-field').is(':focus')) {
return;