Jump to content
Search Community

GSAP SplitText - break issue

pixelarchitect test
Moderator Tag

Recommended Posts

I am using ScrollTrigger and SplitText to animate lines of text when they enter the viewport, this works great but in some cases (mobile most often) the line breaks are weird. I can imagine this happens when you drag the window yourself smaller because the breaks are already added but this also (sometimes) happens when you load the website without dragging the window smaller or bigger.

I also added a screenshot as an example of what happens, does somebody know what happens or know a solution?

IMG_4767.jpg

See the Pen poQoooV by pixelarchitect (@pixelarchitect) on CodePen

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...