Typed.js begins to "flicker" if you press start/stop multiple times
SvenjaLutze opened this issue · 2 comments
SvenjaLutze commented
Description
I use the typed.js within a video. When the video gets paused and played multiple times, the typed.js couldn't catch up. The same behavior happens in the Typed.js Demo
Demo
Please look at "Steps to Reproduce".
Steps to Reproduce
- Go to https://mattboldt.github.io/typed.js
- Under Basic Demo press start and stop alternately very quickly
Expected behavior:
Typed.js starts and stops, without overlapping.
Actual behavior:
Typed.js starts to "flicker".
Reproduces how often:
Everytime I start and stop my video manually several times in a row or when the start/stop automatic (realized through interactive observer) gets triggered from scrolling in or out the viewport.
azizj1 commented
It also happens if you want typedjs to be paused at the beginning, so you create Typings and then call .stop(). It flickers 100% of the time.