diff --git a/source/Ox.UI/js/List/Ox.TextList.js b/source/Ox.UI/js/List/Ox.TextList.js index f7ecfb2c..5d2e2423 100644 --- a/source/Ox.UI/js/List/Ox.TextList.js +++ b/source/Ox.UI/js/List/Ox.TextList.js @@ -61,12 +61,14 @@ Ox.TextList = function(options, self) { .addClass('OxTextList') .bindEvent({ key_left: function() { - var $element = that.$body.$element; - $element[0].scrollLeft = $element[0].scrollLeft - $element.width(); + var $element = that.$body.$element, + scrollLeft = $element[0].scrollLeft - $element.width(); + $element.animate({scrollLeft: scrollLeft}, 250); }, key_right: function() { - var $element = that.$body.$element; - $element[0].scrollLeft = $element[0].scrollLeft + $element.width(); + var $element = that.$body.$element, + scrollLeft = $element[0].scrollLeft + $element.width(); + $element.animate({scrollLeft: scrollLeft}, 250); }, keys: find });