Search the Community
Showing results for tags 'revert'.
Found 1 result
SplitText hyphenated words break revert functionality
AvatarLabs posted a topic in GSAPI've run across an issue where I am pulling a chunk of text from a database and some of the words are hyphenated. When I try to use SplitText to animate the text block and then revert it once it's complete ( so the paragraph flows properly on resize ) there is a jump between the split text render of the text and the reverted state. The jumps occur when hyphenated words are close to the end of a line causing a line-break mid-hyphen. ( See Pen ) Is there a good way around this without having to adjust the text coming in? Thanks.