diff --git a/source/Ox.UI/js/Core/Ox.Keyboard.js b/source/Ox.UI/js/Core/Ox.Keyboard.js index 4f20c651..a95eff2b 100644 --- a/source/Ox.UI/js/Core/Ox.Keyboard.js +++ b/source/Ox.UI/js/Core/Ox.Keyboard.js @@ -182,9 +182,11 @@ } if (focused !== null) { Ox.UI.elements[focused].triggerEvent('key_' + key); - // fixme: oxdb context browser suggests we should add left and right keys here - if (['down', 'space', 'up'].indexOf(key) > -1 && !Ox.UI.elements[focused].hasClass('OxInput')) { - // prevent chrome from scrolling + if ( + ['down', 'left', 'right', 'space', 'up'].indexOf(key) > -1 && + !Ox.UI.elements[focused].hasClass('OxInput') + ) { + // prevent Chrome from scrolling return false; } }