lucasvallenet
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by lucasvallenet
-
-
Hello,
Thank you for your great work and the release of the 3.10 with the new ScrollSmoother.
I'm trying it out on a new projet and I'd like to achieve an infinite scroll that contains scrollTriggers.
I made a simple demo trying to make an infinite scroll. It kind of works on scroll down (i couldn't make it work on scroll up) but I have couple of problems :
-
I can only access the
progress
within theself
element, is there a way to get theY
position so that I can precisely scroll to the repeated section ? I am currently comparing the progress for sections of the same size, but I'm going to have different section sizes and pinning an element will also create issues -
I think the best way would be to compare the scroll position in pixel with the
windowHeight
to easily detect when we are at the top/bottom of the page - Can I disable the smooth scroll end when arriving to the bottom of the page so it feels flowless ?
- Are the scrollTriggers going to work seemlessly ?
Thank you in advance !
Lucas
See the Pen rNJeqKz by lucasvallenet (@lucasvallenet) on CodePen
-
I can only access the
DrawSVG error on SPA
in GSAP
Posted
Hello,
I'm having an issue with DrawSVG on Firefox in a Nuxt app.
This error keeps looping:
Uncaught TypeError: y is null
Everything works fine during the development, the errors appears on build, in Firefox and in SPA when coming from another page.
The code is pretty simple :
It is supposed to play on scroll, but I commented this part because it is not the source of the problem.
It might be a Nuxt issue, but I wanted to ask just in case.
Thank you very much !
Lucas