Jump to content
Search Community

Funktional

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Funktional

  1. It just doesn't look the same as you can see in the example you pasted, although the fact that it looks ok on a macbook, in general, locomotive operation is completely different and a custom scrollbar is built there. Which probably can't be done on gsap smooth-scroll.

    Screenshot_3.png

  2. I would like to combine scrollsmother with scrollbar, I mean mainly interesting scrollbar styling (disappearing etc.) which I get thanks to scrollbar, but it doesn't work for me with smoother gsap where I have a lot of elements using data-speed. Can it be combined? 
    this is what I have in the code:

     

    const smoother = ScrollSmoother.create({
    content: content,
    wrapper: '#smooth-wrapper',
    smooth: 2,
    effects: true,
    });
    let bodyScrollBar = Scrollbar.init(document.body, { damping: 0.1, delegateTo: document });

    See the Pen abNGeKZ by mikeK (@mikeK) on CodePen

×
×
  • Create New...