You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
huh, this is odd. Looks like it only happens if there is extra space in the typed element at the start. In your codepen, when I updated it to <span id="typed"></span>, it worked correctly 🤔
Ah, I know what's happening. If you start with an element like this:
<spanid="typed">Some static text</span>
typed.js will detect "Some static text" exists, and it will backspace it as part of the animation. However, due to a bug, it now thinks that it needs to move forward to the "next" string to animate. It skips the 1st one because it thinks it's already backspaced it.
Not sure of good a fix right now, but I'll put some thought into it.
Description
The first string I use for the typewriter animation is not showing.
Demo
https://codepen.io/stefankempf/pen/JjBjEWq
Workaround
Use an empty span as first element.
Same as #518
The text was updated successfully, but these errors were encountered: