Closed danielkorte closed 1 year ago
Using the responsive text example code and resizing the window multiple times and you’ll see the issue: https://codepen.io/danielkorte/pen/OJEVRoN
The reason for the issue is split() calls revert() which calls SplitType.revert() which deletes the 'html' cached data so the second run of split() will again call revert() but 'html' will be undefined at that point.
Yeah I see what you mean...
@danielkorte Just released a patch for this. It should be fixed in 0.3.3. Thanks for reporting this!
Let me know if its working as expected in 0.3.3
Looks good to me — thanks!
Using the responsive text example code and resizing the window multiple times and you’ll see the issue: https://codepen.io/danielkorte/pen/OJEVRoN
The reason for the issue is split() calls revert() which calls SplitType.revert() which deletes the 'html' cached data so the second run of split() will again call revert() but 'html' will be undefined at that point.