Jquery – Disable 'keydown' event listener for some keys
I want my Bootstrap tab switchers to stop eating Up and Down keys, so the page could scroll instead, as if they are not focused. $('input[type="radio"][role="tab"]').on('keydown keyup', function (e) { if (e.key == 'ArrowDown' || e.key == 'ArrowUp') { e.stopImmediatePropagation();…