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
I have a use case where I want there to be text already inside Typist so I can then backspace it. I don't want the initial text to be "typed" out.
One thing I tried was to use nested Typist components, where the nested Typist component had 0 typing delays. It almost works but doesn't quite work.
Essentially I want:
<Typist><span>This content is rendered by default without animation.</span><Typist.Backspacecount={10}delay={500}/></Typist>
User would see the sentence and then backspace 10.
My understanding is you can only backspace content that is wrapped by the same Typist component. Is there any mechanism I am missing to accomplish this? Thanks.
The text was updated successfully, but these errors were encountered:
I did not manage. In fact the feature was important enough to me that I moved onto another library https://github.com/tameemsafi/typewriterjs. I'm having more success with this library. I very much like the way react-typist works, it's a great library, but I needed the default feature.
I apologize to the authors of this library if it's bad form to link a competing library, but considering there hasn't been development on this library in 2 years and my issue has gone unanswered I'd like to help the community how I can.
I have a use case where I want there to be text already inside Typist so I can then backspace it. I don't want the initial text to be "typed" out.
One thing I tried was to use nested
Typist
components, where the nested Typist component had 0 typing delays. It almost works but doesn't quite work.Essentially I want:
User would see the sentence and then backspace 10.
My understanding is you can only backspace content that is wrapped by the same
Typist
component. Is there any mechanism I am missing to accomplish this? Thanks.The text was updated successfully, but these errors were encountered: