You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using "gsap": "^3.12.5" with "vue": "^3.5.13"
I am trying to make a doll grabbing machine on web.
There is a hook with 10000px height, most of it is hidden above the viewport of the browser.
When I click, the hook moves down and reach for the dolls at the bottom of the viewport.
Here is the thing. While the hook fetching the doll, I would like to display a gif, with position: absolute style
It is the very moment that the hook suddenly moves out of the viewport !
you can see its translate(22.5566vw, 87.2345vh); prop, which I have never added into.
showCat() is the part I use v-if to display a cat gif
The abnormal position of the hook ending up diffs each time.
What is more CONFUSING, there is very small odd that the hook behaves normal.
But just small odd. Mostly it flies out of the viewport.
Things works fine without the cat gif.
The text was updated successfully, but these errors were encountered:
Yeah, it's pretty much impossible for us to troubleshoot without a minimal demo. The problem could be in your CSS, a 3rd party library, or any number of other things. You don't have any CSS transitions applied to anything that's being animated with GSAP, do you?
I am using "gsap": "^3.12.5" with "vue": "^3.5.13"
I am trying to make a doll grabbing machine on web.
There is a hook with 10000px height, most of it is hidden above the viewport of the browser.
When I click, the hook moves down and reach for the dolls at the bottom of the viewport.
Here is the thing. While the hook fetching the doll, I would like to display a gif, with
position: absolute
styleIt is the very moment that the hook suddenly moves out of the viewport !
you can see its
translate(22.5566vw, 87.2345vh);
prop, which I have never added into.Here is the code, really simple one.
showCat()
is the part I use v-if to display a cat gifThe abnormal position of the hook ending up diffs each time.
What is more CONFUSING, there is very small odd that the hook behaves normal.
But just small odd. Mostly it flies out of the viewport.
Things works fine without the cat gif.
The text was updated successfully, but these errors were encountered: