Jump to content
Search Community

Multiple paragraph splitText

SuckMyKiss test
Moderator Tag

Go to solution Solved by Rodrigo,

Recommended Posts

Hi GSAP community! Hope you're doing well!

 

I would like have an answer about multiple paragraph animated with the SplitText module in react environment. In fact, i'm tryin to make a dialog box with multiple paragraph that I split to make an effect like in a video game. My problem is I would like to remove the previous paragraph before the new one start his animation so that it'll appear at the top of the dialog box. I made a codesandbox (sorry i didn't find a way to make it works with codepen) here : https://codesandbox.io/s/adoring-currying-12sedl?

 

Is there a way to do that ?

 

Thanks in advance.

 

Link to comment
Share on other sites

Hi Rodrygo, thanks for the welcome and the answer!

 

There is 2 dialogs in my sandbox (2 <p> tag) and I would like to remove the first text ('It's so damn hot!') to leave the place to the second one. 

 

Unfortunately, I can't acces to the sandbox you linked, got this error :

 

image.png.9d7edbb44005a1d2cc05087dbb347963.png

 

Have a nice day!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...