diff --git a/src/perfect-scrollbar.js b/src/perfect-scrollbar.js index e4650cd..51de8f0 100644 --- a/src/perfect-scrollbar.js +++ b/src/perfect-scrollbar.js @@ -327,7 +327,7 @@ var shouldPrevent = false; $(document).bind('keydown' + eventClassName, function (e) { - if (!hovered) { + if (!hovered || $(document.activeElement).is(":input,[contenteditable]")) { return; }