Jump to content
Search Community

zanntux

Members
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

zanntux's Achievements

  1. Thank you for the detailed explanation! I didn't know the timeline will render on the next tick. I've made a new pen where show/hide is called in single delayedCall to make sure everything is synchronized. I will try to adapt this solution. I guess immediateRender is only for tweens? https://codepen.io/martin-nikolov/pen/gOyeezJ
  2. Hello, I have a problem where I use the gsap.timeline for show/hide logic but it's not really smooth for the first 1-5 seconds. I expect this code to show/hide red and green box without flickering. But there is 1 frame where none of the boxes are shown. There is a small blue box under them for easier detection when the timeline is misbehaving. (I know I can achieve this with normal tweens, but the logic on my side is more complex and I'm using the timeline like a queue) Is this normal and why if it is or am I doing something wrong? I have isolated the problem with a simple codepen. https://codepen.io/martin-nikolov/pen/WNWMMaq
×
×
  • Create New...