Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibility Between Splitting.js and GSAP in a Vue.js Project #106

Open
Ninokeep opened this issue Jul 15, 2024 · 1 comment
Open

Incompatibility Between Splitting.js and GSAP in a Vue.js Project #106

Ninokeep opened this issue Jul 15, 2024 · 1 comment

Comments

@Ninokeep
Copy link

Hello,

I am experiencing an issue when using Splitting.js with GSAP in a Vue.js project. My goal is to animate the appearance of words by applying a translateY(10px) transformation. However, this transformation does not work as expected when implemented in Vue.js. Conversely, the same animation works perfectly when I use vanilla JavaScript.

Example code pen :

Javascript vanilla + gsap = https://codepen.io/asap-fa/pen/qBzOaZa it works

Vuejs + gsap = https://codepen.io/asap-fa/pen/OJeyRRZ it doesn't work.

@notoriousb1t
Copy link
Collaborator

The second codepen does not appear to use Splitting. It looks like it is using another library called SplitType. Can you link an example of VueJS + GSAP + Splitting that does not work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants