the-substance icon indicating copy to clipboard operation
the-substance copied to clipboard

Other strategies for scroll rig

Open alexhillel opened this issue 4 years ago • 1 comments

Thank you for this example, it's really interesting to see this methodology.

In the article you mention there's lots of ways to build the decorative scroll rig. However, I'm struggling to come up with a way that decouples the content section heights from the screen height, so that sections can be driven by the amount of content within it and therefore removing the large gaps between sections, and creating uniform gaps between sections with different amounts of content within them.

Is there a method for achieving this? It seems challenging to do this as the position of a section would depend on the heights of preceding sections...

alexhillel avatar Oct 05 '20 20:10 alexhillel

Hey Alex did you ever figure this out? Ive been experimenting as well but trying to use drei exclusively has run into some problems particularly with offset

Joshduncan89 avatar May 16 '23 22:05 Joshduncan89