Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

fraenzn

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

1 Newbie

About fraenzn

  • Rank
    Newbie
  • Birthday 02/28/1982

Profile Information

  • Gender
    Male
  1. Sorry for hijacking this thread, but I've been unsuccessfully trying to import the Draggable utility in my Webpack project like this, thinking the syntax would be the same as it is for the plugins: import Draggable from 'gsap/utils/draggable' Which leads to Module not found: Error: Cannot resolve module 'gsap/utils/draggable'. What's the correct way to go about this?
  2. Hey Diaco, thanks for checking it out! Interesting, is that syntax documented somewhere? It did change something, but unfortunately it's only that now TweenMax sets the starting value to 50% 50% on every Tween instead. What I want is the current value at the beginning of the tween. I did some digging: TweenMax seems to convert the property to "-webkit-perspective-origin-x" and "-webkit-perspective-origin-y" behind the scenes, and tweening those directly seems to work where tweening -webkit-perspective-origin doesn't. Strange. So for now I'm doing this, which is unfortunate, but
  3. tl;dr: TweenMax + Safari can't read the value of perspectiveOrigin, can set it just fine. Hi, happy customer and big fan here. I'm working on a project where I'm trying to tween the perspective-origin CSS property. It works just fine as long as I TweenMax.set() it, but it breaks in Safari when I change it to TweenMax.to(). Both scenarios work in Chrome. It looks like TweenMax is unable to READ the property's current value when in Safari, which it needs for calculating the tween. It is able to WRITE the value though. If you take a look at my Codepen, switch the method to "to", m
×