Jump to content
Search Community

Larc

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Larc

  1. I found the solution. 
     
    The problem: 
    Hiding the scroll bar with some method like: 
     
    CSS: 
    overflow-y: hidden; 

     

     
    GSAP: 
    TweenLite.set ("# scroller", {overflowY: "hidden"}); 
     
    The event mouse wheel stops working. 
     
    The solution is to revive the event with something like: 
     
    $ event.props.push ("wheelDelta").; 
    $ ('Element'). On ('mousewheel DOMMouseScroll', function (e) {
    var delta = e.wheelDelta | |-e.detail; 
    this.scrollTop + = (delta <0 1: -1) * 30; 
    e.preventDefault (); 
    }); 
     
    this with the help of jQuery.
×
×
  • Create New...