anuraghazra / github-readme-stats

:zap: Dynamically generated stats for your github readmes
https://github-readme-stats.vercel.app
MIT License
66.57k stars 21.6k forks source link

Card Animation Freezing Issue in README File #3487

Closed giorgileladze closed 7 months ago

giorgileladze commented 7 months ago

Describe the bug

The animated Cards on the README file occasionally freezes when the file is opened in a new tab. A simple refresh resolves the problem, and the animation resumes as expected.

Expected behavior

No response

Screenshots / Live demo link

image

Link to Video

Additional context

No response

qwerty541 commented 7 months ago

Hey, @giorgileladze! Thanks for your report! I have doubts about if we can do anything about this problem. I assume that this problem appears due to some browser optimizations and can't be resolved from our side. If you experience this too often the solution can be using disable_animations=true querystring parameter. If you have any concrete suggestion about how to resolve this feel free to share.

@rickstaa I also interested what do you think about this issue.

rickstaa commented 7 months ago

Hey, @giorgileladze! Thanks for your report! I have doubts about if we can do anything about this problem. I assume that this problem appears due to some browser optimizations and can't be resolved from our side. If you experience this too often the solution can be using disable_animations=true querystring parameter. If you have any concrete suggestion about how to resolve this feel free to share.

@rickstaa I also interested what do you think about this issue.

You might be correct about this issue being on the browser or GitHub CDN side. I have yet to experience the problem with the Brave Browser. We can only fix issues we can reproduce 😅.

qwerty541 commented 7 months ago

Hey, @giorgileladze! Thanks for your report! I have doubts about if we can do anything about this problem. I assume that this problem appears due to some browser optimizations and can't be resolved from our side. If you experience this too often the solution can be using disable_animations=true querystring parameter. If you have any concrete suggestion about how to resolve this feel free to share. @rickstaa I also interested what do you think about this issue.

You might be correct about this issue being on the browser or GitHub CDN side. I have yet to experience the problem with the Brave Browser. We can only fix issues we can reproduce 😅.

I noticed that our wakatime card contains animations, but there is not query parameter to disable it unlike stats and top languages card. I have opened pull request https://github.com/anuraghazra/github-readme-stats/pull/3496 to give ability for users who experience this issue to avoid the problem. Please check it. I think that we can close this issue after merging https://github.com/anuraghazra/github-readme-stats/pull/3496, since it can't be fixed from our side.