Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

Animation loop issue: frame not displayed #94

Closed
nmattia opened this issue Apr 18, 2019 · 3 comments
Closed

Animation loop issue: frame not displayed #94

nmattia opened this issue Apr 18, 2019 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@nmattia
Copy link

nmattia commented Apr 18, 2019

It sometimes happens that every other loop fails to render part of the SVG. Here's an example: every now and then when the page loads the SVG, the animation is broken, and the first part of the text is shown only every other time.

@nbedos
Copy link
Owner

nbedos commented Apr 28, 2019

I couldn't reproduce it at first but if I open the animation in multiple tabs with Chromium it's indeed broken. It seems like one animation is interfering with the other. I'll look into this.

Thanks for the report!

nbedos added a commit that referenced this issue Jun 30, 2019
Switch from SMIL animations to CSS or WAAPI animations
This should address #75, #86, #94 and #95
@nbedos
Copy link
Owner

nbedos commented Jun 30, 2019

This should be fixed by c9a3ecb. The behavior you noticed seems specific to SMIL animations: I've changed termtosvg to use either CSS animations or the Web Animations API and I can't reproduce this issue anymore.

@nbedos nbedos added this to the 0.9.0 milestone Jun 30, 2019
@nbedos nbedos added the bug Something isn't working label Jun 30, 2019
@nmattia
Copy link
Author

nmattia commented Jul 1, 2019

Works like a charm! thanks for looking into this. (added benefit: i can now source my SVGs directly from the repo on GitHub 🎉 )

@nmattia nmattia closed this as completed Jul 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants