You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by jo...@apache.org on 2019/04/01 20:42:35 UTC

[nifi] 04/18: NIFI-6126 - Change nf-canvas to respond to keyup events rather than keydown

This is an automated email from the ASF dual-hosted git repository.

joewitt pushed a commit to branch NIFI-6169-RC1
in repository https://gitbox.apache.org/repos/asf/nifi.git

commit fdb8a6e02a4ec4610d708f5a4fbc9e984b0ed7d6
Author: Rob Fellows <ro...@gmail.com>
AuthorDate: Mon Mar 18 10:14:24 2019 -0400

    NIFI-6126 - Change nf-canvas to respond to keyup events rather than keydown
    
    This closes #3376
---
 .../nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-canvas.js      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-canvas.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-canvas.js
index b15d443..4020d9f 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-canvas.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-canvas.js
@@ -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;