Jump to content
Search Community

Eric Dyken

Business
  • Posts

    4
  • Joined

  • Last visited

About Eric Dyken

Eric Dyken's Achievements

  1. @Cassie Cassie, I'd like to extend my gratitude to you and Jack. After creating a demo which I was really reluctant to do it became obvious that the problem was on my end (after seeing my demo work with no issues). My problem was I was running the ScrollSmoother.create constructor in a main.js file: function smoov() { const smoother = ScrollSmoother.create({ wrapper: '#smooth-wrapper', content: '#smooth-content', smooth: 2, effects: true, }); return smoother; } smoov(); whilst my scrolltrigger for the pinning was in a different .js file. The separate js did not have scrollsmoother imported so that was my issue. I just assumed if it was in the main.js it would be fine but that was not the case (and since the scrolling of the actual page still had the smoothing it seemed like it was global). No console errors were thrown, although I did not check the console warnings so that may have saved me some headaches. I also did not notice that OP was using the scrollTo and not the smoothscroll plugin so this is probably not even the right thread! My Apologies. Noobie learning a lot today!
  2. Thanks Cassie, sorry I'm frustrated and it's getting the better of me today. I do see the box C pinning in your demo! Fantastic. Let me see if I can provide a minimal demo of my situation.
  3. Thanks but like I said, not interested in help just need you to know I was having same issue as OP in this thread, and every scrollerproxy demo I tried did not fix it. They all had the same effect of the pinned item 'jumping' like int OP's post. I spent all last night and this morning attempting all the libraries and all the scrollerproxy demos. I'm done. So if the pinning ever works with smoothscroll without using a 3rd party library in a future release I'll circle back and try then. Thanks for your reply and concern.
  4. Just a frustration rant here: No matter what I do I can't get scrolltrigger pinning to work correctly when using any - and I've tried a LOT of them - scroll smoothing libraries(locomotive, smooth-scrollbar, asscroll (lol) ) , including the gsap smooth scroll plugin. No matter what my pinned elements do the 'jump' as they are assigned to position:fixed and do not accurately position the element. After trying all the demos with the scrollerproxy methods I've had 0 success with the pinning. Not looking for any help here just letting you know I'm moving on from the smooth scroll as I have a project with a lot of pinning so I have to choose being able to pin over smooth scroll. Great products just looking for that extra functionality to make your smoothscroll plugin work correctly with pinning. Maybe in a future release!
×
×
  • Create New...