Jump to content
Search Community

Origine

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Origine

  1. Hey Jack, thanks for your reply ! It makes sense then if it is a legacy thing. To be honest I feel like it doesn't really matter whether the wrapping is done outside or inside the target, as long as you don't have to worry about exceptions and inconsistencies. Do you think it still makes sense to have this feature since SplitText is now able to split apart nested elements?
  2. Hey there! First of all I've got to say GSAP is the most amazing animation library the web has to offer, so thank you GreenSock for the great work ! Back to the issue at hand, I've noticed an odd behavior when it comes to SplitText and the line splitting feature (could also be the case for chars and words) : as you see in the codepen that I forked from the actual GreenSock's demo, when you are splitting one element, the splitting is made inside that element, BUT if you are splitting several elements, the splitting is made outside and actually wraps the element (which is, I feel, the logical behavior). See screenshots* attached if you can't see the codepen. How do you feel about that? Is it a normal behavior to you? Having different splitting behaviors gets tricky when animating lines of copy that come from a CMS, as the number of lines that you feed SplitText with may vary… *Screenshots :
×
×
  • Create New...