mirror of https://github.com/apache/nifi.git
NIFI-6126 - Change nf-canvas to respond to keyup events rather than keydown
This closes #3376
This commit is contained in:
parent
43235724e2
commit
6401e32a33
|
@ -708,7 +708,7 @@
|
||||||
nfCommon.toggleScrollable(tabsContent.get(0));
|
nfCommon.toggleScrollable(tabsContent.get(0));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}).on('keydown', function (evt) {
|
}).on('keyup', function (evt) {
|
||||||
// if a dialog is open, disable canvas shortcuts
|
// if a dialog is open, disable canvas shortcuts
|
||||||
if ($('.dialog').is(':visible') || $('#search-field').is(':focus')) {
|
if ($('.dialog').is(':visible') || $('#search-field').is(':focus')) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue