Skip to content

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

@Ninokeep

Description

@Ninokeep

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions