ScrollMagic icon indicating copy to clipboard operation
ScrollMagic copied to clipboard

scroll vertically while enable scroll horizontaly but with some constraint

Open LiTiang opened this issue 10 years ago • 1 comments

Please see more detail HERE

I really have no idea how to do that ...

LiTiang avatar Aug 09 '16 09:08 LiTiang

About ten years late on this -- apologies.

This was a support question about combining vertical and horizontal scrolling with constraints. v2's horizontal scroll support required pinning a container and driving horizontal movement via tweens, which made complex constraint-based layouts quite difficult.

v3 has native horizontal scroll support via the vertical: false option and supports any scroll container via the scrollParent option, which makes these kinds of mixed-direction layouts much more straightforward to set up.


ScrollMagic v3 is now available — a complete rewrite with an entirely new architecture and API. v2 will not receive further updates (2.0.9 is the final release).

👉 npm install scrollmagic@next — Docs · Release notes · npm

janpaepke avatar Feb 20 '26 12:02 janpaepke