Jump to content
Search Community

ShikharS

Premium
  • Posts

    2
  • Joined

  • Last visited

About ShikharS

ShikharS's Achievements

  1. The demo I provided is just a small part of a larger animation I'm building, so svg wouldn't work in this case. But clearProps works perfectly. Thank you @Trapti and @PointC
  2. Hello! In the codepen demo, I want the circle to orbit the rectangle. It works perfectly on page load. However, upon resize, despite killing the previous tween and creating a new one with updated values for the motionPath plugin, the circle moves in random directions instead of orbiting the rectangle. How can I make sure that the circle moves around the rectangle after resizing (just like how it works on page load)? PS - I encounter this console error post resize - "Unable to preventDefault inside passive event listener due to target being treated as passive." Could this relate to my issue? Thanks!
×
×
  • Create New...