Skip to content
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

Typed.js begins to "flicker" if you press start/stop multiple times #601

Open
SvenjaLutze opened this issue Feb 20, 2024 · 1 comment
Open

Comments

@SvenjaLutze
Copy link

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

  1. Go to https://mattboldt.github.io/typed.js
  2. 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
Copy link

azizj1 commented Mar 20, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants