Jump to content
Search Community

Rehman132

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Rehman132

  1. Hi folks

    I am using trying to use this technique  

    See the Pen RwgEEqj by GreenSock (@GreenSock) on CodePen

      in m y project but when I am using it the normal page scroll stop smooth scrolling and page get disturbed. 

     

    * in my code i just add 2 parent divs  ( <div id="smooth-wrapper"> <div id="smooth-content"> ) and its code 

    let smoother = ScrollSmoother.create({
        wrapper: '#smooth-wrapper',
        content: '#smooth-content',
        smooth: 1,
        smoothTouch: 0.1,
        effects: true
    });

    After adding this the horizontal scroll get discrubed.

    Thanks in advance 

    See the Pen zYaKyYb by abdul-rehman-sadiq (@abdul-rehman-sadiq) on CodePen

×
×
  • Create New...