joshu_a
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by joshu_a
-
-
13 hours ago, GreenSock said:
Yeah, that kinda sounds like what I described earlier - a hot reloading issue in your dev workflow where it only partially injects things while you're developing. Totally unrelated to GSAP. Maybe try disabling the hot reloading or do a hard-refresh to see if it's actually working without the hot reloading partial stuff. I'm totally guessing here since no minimal demo was provided that clearly shows the issue. If you've got one of those, we'd be happy to take a peek.
I'd provide a minimal demo, however oddly enough it seems to work fine when running in codepen or code sandbox -- the issue only seems to happen when running
yarn dev
locally. -
On 12/12/2022 at 4:25 AM, DevNate said:
The pinned element still skips on my local server.
I've also noticed GSAP acts a little funky when running next.js in
yarn dev
. hit or miss sometimes, usually runningyarn build && yarn start
works fine though. -
Im having issues with gsap and nextjs where scrolltrigger doesnt work as expected when running `yarn dev`, but works fine on `yarn build && yarn start`.
Whats weird is that it works fine in this stackblitz example, but the exact same code i have running locally on vscode does not work with `yarn dev`, what i'm seeing is the pinned section stuck on the screen, with the 3rd section overlapping it.
https://stackblitz.com/edit/nextjs-em5vru?file=pages/index.js
-
-
Hi All,
I'm trying to reproduce an animation effect i've found on this website, however I've been unlucky => https://videinfra.com/ (see the section that pins while images mask over each other and content fades on the left on scroll).
Is anyone able to point me in the right direction, or provide a link to a forum post that may cover this or something similar?
Thanks in advance!
Pinning a header to the center of the viewport in reactjs
in GSAP
Posted
I believe this is also the issue, going to look into wether or not you can disable this feature in Next.js.
Thanks!