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

Feature request: Instead of clearing svg after animation reached end, follow through #41

Open
CoryWritesCode opened this issue Dec 3, 2020 · 3 comments

Comments

@CoryWritesCode
Copy link

Example:

There is an animation at 4 points (A, B, C, D).

As I've seen it work now, we are able to animate from A -> B -> C -> D then the svg disappears and it starts over. Would there be a way for us to set a prop to have the svg show the animation like:
A
A -> B
A -> B -> C
A -> B -> C -> D
B -> C -> D
C -> D
D

So essentially it is sort of "clear itself" instead of a sudden clear.

@73R3WY
Copy link
Owner

73R3WY commented Dec 3, 2020

Hi @CoryWritesCode , have you tried the reverse or rewind props? It was added by someone before for the same use case you described.

@CoryWritesCode
Copy link
Author

I'll take a look! Thanks!

@CoryWritesCode
Copy link
Author

@73R3WY I looked into those props and, to my knowledge, without configuring some tricky conditionals it doesn't get what I'm looking for here. I'm thinking of more like a collapse prop maybe. Where the path completes and then the end (where the animation originally begins) comes back to meet the end causing it to collapse in on it's own path in a matter of speaking. Does that make sense?

@CoryWritesCode CoryWritesCode reopened this Dec 3, 2020
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