Jump to content
Search Community

halfbyte

Members
  • Posts

    2
  • Joined

  • Last visited

halfbyte's Achievements

0

Reputation

  1. Ah, the usual effect. I may have just fixed my animation by choosing different values for positions and lengths of the tweens. Some explanation: I try to express my animation phases in pixels (the animation is "played" by swiping) instead of seconds and use a certain "speed" factor to convert the values. As it seems I chose some bad numbers here, resulting in floats with weird fractions. Could it be the case that the tween triggers have indeed some edge cases where calculations result in missing the trigger points? (Do I make sense here?) I will try to investigate (but not tonight for sure) if my issues with the 1.8.1 release are also caused by bad fractions, will report later. Thanks, Jan
  2. Hi, I'm sorry, this first stab at a description might be a bit unspecific, but I might need some help to find out where to start looking. I'm currently building a rather complex animation (using TimelineMax), with many of the tweens based on class names. Usually this works fine but now I have one specific case of a forward animation (removing a class name with className: "-=class") working, but if I play the animation backwards (or seek before the tween), the className doesn't get readded (and the tweens are not done, too). I have currently 4 tweens at the specific position in the Timeline, all with the same length, two adding a class and two removing a class (all on different selectors). This may sound a lot, but I have various other pieces in the animation that use even more tweens without problems. Of these four, the two that add a class work, the other two don't. I am not able to properly reproduce the bug in a clean room situation, which makes me think that this might be some weird edge case. (And by that I mean that as soon as I try to remove tweens around this or even only separate the tweens in the timeline so that they don't overlap, the bug disappears) I am currently using 1.641. Which brings me to my second point: I tried to upgrade my project to 1.8.1 today and had to roll back immediately because there were a ton of regressions. Most notably that after doing class based tweens, the inline styles were not removed (this may be intentional for performance reasons?) but in a lot of cases, the inline styles did not morph to the values set in the stylesheet. Is this known? I assume that without knowing more about my project, it's virtually impossible to make any guesses on what's going wrong, so my question goes more along the lines of: How do I best debug this? I can't really share the whole project publicly right now, so how to best proceed with this? Thanks a lot in advance, until today, using the GSAP has been a ton of fun Jan
×
×
  • Create New...