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

Card reappears in center of screen #2

Closed
GirkovArpa opened this issue Feb 24, 2021 · 1 comment
Closed

Card reappears in center of screen #2

GirkovArpa opened this issue Feb 24, 2021 · 1 comment

Comments

@GirkovArpa
Copy link
Owner

After sliding left off the screen, sometimes (unpredictably) the card will reappear for a brief instant in the center of the screen before the new card slides in from the left.

I presume this is a desynchronization between CSS framerate and JavaScript ticks.

@4silvertooth
Copy link
Collaborator

4silvertooth commented Feb 24, 2021

If you reduce this time here

await seconds(1.3);

It won't popup but I am still looking into it. After the keyframes are over it jumps back to the start of animation that's the problem.

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