Hi everyone,
can anyone tell me why javascript offsetLeft, offsetTop does not match with gsap x,y? I have an example about fly to cart, on this link https://stackblitz.com/edit/js-bqhafu?file=index.js. When the user presses '+ Thêm', I clone an image from product's image, and get it's DOM offset top and offLeft, and assign those position to x,y of gsap. but there was some wrong, I don't know where the gsap relative is?