-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First string typed is not showing #526
Comments
I am getting this issue too. |
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 |
Ah, I know what's happening. If you start with an element like this: <span id="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. |
Fixed with the latest release! |
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: