Jump to content
Search Community

GillesG

Members
  • Posts

    2
  • Joined

  • Last visited

Community Answers

  1. GillesG's post in New to GSAP - Invalid property transform set to translate(-627px,0px) Missing plugin? gsap.registerPlugin() was marked as the answer   
    Thanks for the ideas.
     
    Your point was correct : "element" was not a DOM element.
    This was due to the fact that 
    document.querySelectorAll(".grid-layout_item")[0].firstChild is not returning the same thing with vue 2 /webpack and vue 3 / vite.js
     
    the fix is 
    document.querySelectorAll(".grid-layout_item")[0].firstElementChild  
     
×
×
  • Create New...