7dots
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by 7dots
-
-
Hi there,
I was wondering if GSAP's
matchMedia
uses theResizeObserver
?We are getting an error on some older versions of Safari and have seen
ReferenceError: Can't find variable: ResizeObserver
in the console.Please could you confirm as I'm not sure what else it could be.
Thanks,
Jack
-
Hey,
I managed to find a solution to my problem in the end in a GSAP Codepen!
This got me on the right tracks:
See the Pen zYPVoZV?editors=0010 by GreenSock (@GreenSock) on CodePen
Thanks for the help guys.
Thanks,
Jack
- 2
-
Hey @GreenSock,
Thanks for the reply. It's effectively just the velocity and giving it a slower momentum. I noticed that doing it this way will cause the vertical loop to go backwards on itself when it reaches a point.
I'm going for something like this but without the auto scrolling:
See the Pen oNGEvmw by cameronknight (@cameronknight) on CodePen
Hey @Rodrigo,
That's a perfect example thanks, but for this use case i'd like to try use the velocity to give the scroll some momentum rather than using
timeScale
.Is there any hint you can provide to get going with using velocity and progressing the vertical loop timeline at all?
Thanks,
Jack
- 1
-
Hey guys,
Is there a way to tie the vertical loop helper function to scroll
velocity
ordelta.y
for example?So having the helper function paused by default, and tapping into either of the above values to progress the timeline on scroll?
I have attached a demo of kind of what i'm after in terms of scroll (I don't intend to use the example for my work 😇)
See the Pen OJBxeMm?editors=0011 by jackkemm (@jackkemm) on CodePen
Essentially the columns would be paused, and animate in opposite directions using either of the above values to create the momentum/acceleration effect.
Thanks,
Jack
-
- 1
-
Hi guys,
I am getting the issue as of 5 mins ago:
error An unexpected error occurred: "https://npm.greensock.com/@gsap%2fshockingly/-/shockingly-3.11.4.tgz: connect ECONNREFUSED
Is this still an ongoing issue? I tried what @Raymall Pérez said above but no luck still.
Thanks,
Jack
-
On 1/31/2020 at 11:55 AM, amort2000 said:
Hi Zach,
I found the guilty style-rule and thought it worth mentioning on this forum.
I'd been experimenting with an experimental css property and had tried at some point
scroll-behaviour:smooth
but hadn't detleted it from my stylesheet.It really messed with scrollTo in Chrome (understandably)
thanks again for y our help
Thanks a MILLION for this @amort2000, this issue was also driving me crazy all day from 6:00am in the morning, until finally ready your post at 9:32pm!
Legend.
BTW way for anyone who is reading this and is about to do a find in files the correct spelling isscroll-behavior: smooth;
- 2
Can't find variable: ResizeObserver
in GSAP
Posted
Hey @GreenSock, thanks for clarifying!
It's was erroring in an older version of IOS Safari so I was just working through the node modules I have installed and checking what might be the cause.
I'll be good for help thank you. I've been debugging so hopefully will find something, but nice to know it's not coming from GSAP 👍
Thanks again.
Jack