Jump to content
Search Community

SplitText adding empty line in IE11

friendlygiraffe test
Moderator Tag

Recommended Posts

Finally got round to using SplitText, but I am having a weird bug in IE11.

 

This is how the text looks like without initialising SplitText:

 

ie11-noSplitText_70.jpg.52bf369863948aee82954190cf069e4b.jpg

 

This is what happens after I add SplitText, as you can see there is a gap underneath:

 

ie11_100.jpg.c87d316c06eea697145d122a68e9ef2a.jpg

 

It works fine in all other browsers, any clues? CodePen attached

 

other_100.jpg

 

See the Pen jOMmrXV by friendlygiraffe (@friendlygiraffe) on CodePen

Link to comment
Share on other sites

Hey friendlygiraffe. This is simply an IE rendering bug. You can check this by using the dev tools in IE11 to toggle any property of the #Headline_Copy. If you do so you'll see the rendering error disappear, even if you toggle the property back on. It's easier to see if you don't loop the the animation like this but it's also visible in your demo until the next item is animated. 

 

You might be able to find some work around by searching the internet and trying out different properties applied to different elements that you have to make it spend more effort rending things properly. Or you may find there is no fix. Regardless it's not an issue with GSAP or SplitText. Sorry that we can't be of more help.

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