Anyone have any good ways to prevent a parent scroll component from scrolling when a child scroll component is scrolling?
Looking into direction lock and scroll events depending on what you really need.
Well right now they both scroll-- so it has this parallax type of effect. I looked for onScroll for one and set the other's vertical scroll to false, but that didn't work.
Maybe you can alter it's ySpeed instead?
Direction Lock might be what you need.
if both are same direction scrolling, just on childrenlayer start drag parent.scrolling=false on childrentlayerdrag end - parent.scrolling=true with right syntax of course)
Just to follow up on this: this scrollEnd event also needs mousewheel set to false to work on desktop