Jump to content
Search Community

macOS Safari behaves different on codepen and jumpstartdemo

olivero test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hi all

 

When I run the same code used in the codepen (which works correctly) in a file from the jump start demo (attached), the needle looses it's rotation position when I move it down (see images).

It only happens in Safari (11.0.2), on Firefox and Chrome it works correctly.

Does anyone know how I can fix it so it also works in Safari?

Thanks!

Cheers

olivero

0.png

1.png

2.png

14_timelinelite_syntax.html

See the Pen XVzLBb by anon (@anon) on CodePen

Link to comment
Share on other sites

thank you for your replies. It's strange I think it must be the GreenSock version which is included in the getting started file because when I include the following file instead, it works perfectly!

<script src='http://cdnjs.cloudflare.com/ajax/libs/gsap/1.20.3/TweenMax.min.js'></script>

 

  • Like 2
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...