diff --git a/src/bootstrap-input-spinner.js b/src/bootstrap-input-spinner.js index 8e9c153..508dba8 100644 --- a/src/bootstrap-input-spinner.js +++ b/src/bootstrap-input-spinner.js @@ -349,7 +349,7 @@ e.preventDefault() } callback(e) - }, {passive: true}) + }, {passive: false}) element.addEventListener("keydown", function (e) { if ((e.keyCode === 32 || e.keyCode === 13) && !triggerKeyPressed) { triggerKeyPressed = true