0

On chrome and when the page direction is 'rtl', the page cannot be scrolled when the mouse wheel is scrolled forwards, page scrolls only when the mouse wheel is scrolled backwards. you may find the issue here.

$(function () {
    $('header').niceScroll();
})
stanze
  • 2,456
  • 10
  • 13
Abraham Jagadeesh
  • 1,757
  • 1
  • 23
  • 21

1 Answers1

2

Try using jQuery Mousewheel plugin.

$(function() {

   $("body").mousewheel(function(event, delta) {

      this.scrollLeft -= (delta * 30);

      event.preventDefault();

   });
stanze
  • 2,456
  • 10
  • 13
  • thanks stanze. the problem is I am working on an existing project and we are worried that we will lose the customization of scrollbar provided by nicescroll. – Abraham Jagadeesh Apr 20 '15 at 05:06