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

Ant animation appears on paths that are set to paused if there is at least one path with animation next to it. #86

Closed
1 of 6 tasks
ckotyan opened this issue Jun 13, 2019 · 4 comments · Fixed by #121
Closed
1 of 6 tasks

Comments

@ckotyan
Copy link

ckotyan commented Jun 13, 2019

Type:

  • bug
  • feature
  • enhancement
  • question

Environment:

  • OS: Mac
  • Browser: Chrome
  • Library Version: 1.2.1

I'm going to open a PR:

  • yes
  • no

Description:
[ Ant animation appears on paths that are set to paused if there is at least one adjacent path with animation next to it.]
Is there a way to ensure paused animation paths do not display the dash lines at all?

@ckotyan
Copy link
Author

ckotyan commented Jun 13, 2019

I would love to fix it If I knew what is going on and submit the PR

@samanabo
Copy link
Contributor

I took a quick look at this, it seems the method to generate the path IDs could result in two paths having the same ID. This is because the current date/time is used for the ID, and paths can be created within the same millisecond.

@samanabo
Copy link
Contributor

@rubenspgcavalcante have you had a chance to look this over? I think this is still an issue... thanks!

@moritz4
Copy link

moritz4 commented Sep 24, 2020

I'm also having this problem when creating multiple paths in a loop. Because they are created so quickly after one another, they have the same animatedPathId. When I pause() or resume() one of them, it effects them all.

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

Successfully merging a pull request may close this issue.

3 participants