I have used this typed animation in the placeholder of my search field. But the animation continues even if I start to write and get backspaces then a new line starts.
How can I pause this animation on focus/click and write my own words in that search field stopping the animation? and If I focus outside the search input, I want the animation to be resumed. Is it even possible?
Thanks for your help in advance.