pagePiling.js icon indicating copy to clipboard operation
pagePiling.js copied to clipboard

Disable keyboard-scrolling while typing in a textarea / input

Open El-Rico opened this issue 9 years ago • 2 comments

I'm unable to use the navigational arrows while typing in a form. When i press UP, DOWN, LEFT, RIGHT, HOME, etc. the pages start scrolling.

Would be great if that functionality stops while a input or a textarea is focussed.

El-Rico avatar Dec 23 '15 21:12 El-Rico

I'll mark it as an enhancement. If you really need it as soon as possible contact me for an urgent request.

alvarotrigo avatar Dec 26 '15 16:12 alvarotrigo

$('input').click(function() { if ($(this).is(':focus')) { $.fn.pagepiling.setKeyboardScrolling(false); } })

This is the best solution. Hope it helps!

wisniewski94 avatar Nov 03 '16 12:11 wisniewski94