zozo Posted August 16, 2021 Share Posted August 16, 2021 Hi there, I have an issue with this. It's working fine in Chrome, FF, but not in safari. It should scale the svg part on scroll, but in safari it's .. weird. It's very very slow, and not really reacting to scrolltrigger. Can any one help ? Thanks, Best regards, Romain See the Pen MWmRMLM by romainmalauzat (@romainmalauzat) on CodePen Link to comment Share on other sites More sharing options...
Solution nico fonseca Posted August 16, 2021 Solution Share Posted August 16, 2021 Hey @zozo ! Here is the thread with the same problem: See the Pen 1fb50e40f6c086568e3d2585799175e6 by nicofonseca (@nicofonseca) on CodePen . 🤘 4 Link to comment Share on other sites More sharing options...
zozo Posted August 16, 2021 Author Share Posted August 16, 2021 Hi nicofonseca, Thanks ! that was quick ! Should I use a time line controlled by a scroll trigger instead to improve performance like here ? Link to comment Share on other sites More sharing options...
OSUblake Posted August 16, 2021 Share Posted August 16, 2021 You don't need to use a timeline if you're only controlling 1 animation with the scroll trigger. 3 Link to comment Share on other sites More sharing options...
zozo Posted August 22, 2021 Author Share Posted August 22, 2021 That make sens. thanks ! 1 Link to comment Share on other sites More sharing options...
zozo Posted August 22, 2021 Author Share Posted August 22, 2021 Hi Again, I have kind of the same problem with a Timeline that start on scrolltrigger. Could you give an exemple of the same idea with a timeline please ? Best regards Link to comment Share on other sites More sharing options...
OSUblake Posted August 22, 2021 Share Posted August 22, 2021 It would be the same, just use the timeline's onUpdate. gsap.timeline({ onUpdate() { ... }, scrollTrigger: { ... } }); 2 Link to comment Share on other sites More sharing options...
zozo Posted August 22, 2021 Author Share Posted August 22, 2021 thanks ! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now