My aim is to accomplish something close to what's being done here: here
I'm satisfied with the simple, non-snapping solution (you can see my implementation here, in the Codesandbox I linked, only comment out the first gsap.to(...) and uncomment the one just below it). But the snapping solution is behaving pretty strangely - it's very, very slow to snap and seems a little confused as to which item/panel to snap to.
I take it this is probably an issue with the utils.toArray('.classname') method, and that I ought instead to be using refs, but I don't know how this implementation works, and I haven't found any guidance for doing something like this, which creates scrollTriggers for every single element. My use-case only calls for one scrollTrigger.
Any guidance would be super appreciated.