From ee4ccb7ddb39bf185b3b19aeabd16cd2e9d6161d Mon Sep 17 00:00:00 2001 From: Kris Braun Date: Mon, 9 Dec 2013 14:00:12 -0500 Subject: [PATCH 1/2] Ignore hotkeys when shift is down --- src/tags-input.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tags-input.js b/src/tags-input.js index e34242ca..85582c81 100644 --- a/src/tags-input.js +++ b/src/tags-input.js @@ -186,7 +186,7 @@ tagsInput.directive('tagsInput', function($timeout, $document, tagsInputConfig) return; } - if (hotkeys.indexOf(e.keyCode) === -1) { + if (e.shiftKey === true || hotkeys.indexOf(e.keyCode) === -1) { return; } @@ -234,4 +234,4 @@ tagsInput.directive('tagsInput', function($timeout, $document, tagsInputConfig) }); } }; -}); \ No newline at end of file +}); From eed6d9d01827bb6e9ac779b7997819ba6072cbe0 Mon Sep 17 00:00:00 2001 From: Kris Braun Date: Mon, 9 Dec 2013 22:33:18 -0500 Subject: [PATCH 2/2] Ignore all modified keypresses for hotkeys; added a test (not yet passing) --- build/ng-tags-input.js | 3 ++- build/ng-tags-input.min.zip | Bin 3974 -> 3993 bytes build/ng-tags-input.zip | Bin 6842 -> 6868 bytes src/tags-input.js | 2 +- test/tags-input.spec.js | 32 ++++++++++++++++++++++++++------ 5 files changed, 29 insertions(+), 8 deletions(-) diff --git a/build/ng-tags-input.js b/build/ng-tags-input.js index e9d93ac8..b3b861e8 100644 --- a/build/ng-tags-input.js +++ b/build/ng-tags-input.js @@ -198,7 +198,7 @@ tagsInput.directive('tagsInput', ["$timeout","$document","tagsInputConfig", func return; } - if (hotkeys.indexOf(e.keyCode) === -1) { + if (e.shiftKey || e.altKey || e.ctrlKey || e.metaKey || hotkeys.indexOf(e.keyCode) === -1) { return; } @@ -248,6 +248,7 @@ tagsInput.directive('tagsInput', ["$timeout","$document","tagsInputConfig", func }; }]); + /** * @ngdoc directive * @name tagsInput.directive:autoComplete diff --git a/build/ng-tags-input.min.zip b/build/ng-tags-input.min.zip index ef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