Jump to content
Search Community

Taylan

Members
  • Posts

    16
  • Joined

  • Last visited

Posts posted by Taylan

  1. On 11/17/2020 at 8:34 AM, GreenSock said:

    Hello again, I think you guys are actively working on the script on this URL? I, unfortunately used that URL as CDN and now there is a bug (that wasn't there at the time of this post). Bug is mainly about sometimes element not animating at all when start and end values are different in integer level (I mean when it's moving from 1.8 to 2.1, -1.9 to -2.3 etc. You can see it on the original post's codepen. (Uncaught TypeError: Cannot read property 'samples' of undefined)

     

    See the Pen NWRxMgG by taylankasap (@taylankasap) on CodePen

     

    Of course this might be caused by me using MotionPathPlugin 3.6 with GSAP 3.5.1. Is there a GSAP 3.6 preview I can test? Or maybe MotionPathPlugin's old version so I can revert back to the working version for now  (and by old I don't mean 3.5.1, I mean the one you sent me the first time under this topic)?

    • Thanks 1
  2.  

    4 hours ago, GreenSock said:

    I've made that change in the next release which you can preview at https://assets.codepen.io/16327/gsap-latest-beta.min.js

     

    Better?

    That was fast and it works in 3 cases I've reported. Better indeed! Thank you.

     

    2 hours ago, Visual-Q said:

    Couple of pens from back in the day using calc and css variables from Blake

    Unfortunately I have to support IE and I don't think this works there. But this is a great idea. I will keep in mind for future projects. Thanks.

  3. I'm aware of these. But the thing is, in the project I'm currently working on I've tried using calc for a very small animation where performance wouldn't be an issue. If I write JS, it will probably be around 30 to 60 lines of code.

    But like I said, I'm not asking for help. I will probably use CSS transition for this one. I just wanted to let you know of these issues. (Maybe I should open a GitHub issue?)

  4. Hello all. I know using calc in JS is not recommended. But as long as it is not in the not supported category, I'd call these bugs.

     

    Click the toggle button twice and now the h1 has top: 4.75px instead of calc(1vh). I don't know if GSAP is trying to optimize something, but even if it is it should set 1vh, not 4.75px.

     

    It's jumping to some huge values.

    See the Pen YzqONVR by taylankasap (@taylankasap) on CodePen

     

    It is changing values (see devtools) even when from and to are same.

    See the Pen MWyqJdO by taylankasap (@taylankasap) on CodePen

     

    It would be good if I could let CSS calculate things for me but with these issues I don't think it's possible. I guess I'll not use calc, just wanted to let you know of these issues.

    See the Pen ZEWMLbB by taylankasap (@taylankasap) on CodePen

  5. Thanks for the quick response.

     

    Even DOM reflow (e.g. calling getBoundingClientRect) doesn't make the distortion go away. But changing tabs, minimizing/maximizing the browser window etc. fixes the distortion.

     

    Do you have any idea to how to mimic the same "re-render" operation via JavaScript? If not I guess I'll disable the filter on Edge for now since I can't seem to find another workaround.

  6. Hey guys. First things first, I love gsap and its team!

     

    I have items with css filter applied.

     

    My issue is with Edge browser. Either removing the filter or making overflow visible fixes the issue (I obviously want to have both if possible).

    After sliding a few items, it starts to get distorted like in the image. See codepen to understand better.

     

    image.png.3949432d0a4de380e10ccfab5e0ef14f.png

     

    I'm not sure if this is caused by gsap, but nevertheless, I figured you guys would like to know about this.

     

    Microsoft Edge 44.19041.1.0

    Microsoft EdgeHTML 18.19041


    Any help is appreciated. Thanks!

    See the Pen xxZEKRp by taylankasap (@taylankasap) on CodePen

×
×
  • Create New...