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