@akapowl
Thanks for your solution from December 13, 2020. I'm trying to do something similar where my application scrolls down to a section with the horizontal scroll. For my react / next.js application, and much like your solution, I am trying to have all my sections scroll horizontally to the left, pin, and overlap each other. Once I scroll through the sections then the container's horizontal scroll should disengage and move vertically down to the rest of the web page. My problem is that when I engage in the first scroll, it somehow makes the container disappear and does not allow for the subsequent thumbnails to stick. What's an even stranger effect, the horizontal scroll does appear but only in reverse after I scroll to the bottom of the page first. Since I am using next.js I am utilizing useRefs instead of query selectors. Could this be a reason my app is experiencing this odd behavior?
Here's my sandbox attempt:
https://codesandbox.io/p/sandbox/horizontal-scroll-with-left-sticking-panels-6yg39f?file=%2Fsrc%2FStickyScroll.jsx%3A7%2C29