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

🐛 BUG: avoid upvote text animation if not necessary #1410

Open
1 task done
sshanzel opened this issue Sep 6, 2024 · 0 comments
Open
1 task done

🐛 BUG: avoid upvote text animation if not necessary #1410

sshanzel opened this issue Sep 6, 2024 · 0 comments

Comments

@sshanzel
Copy link
Member

sshanzel commented Sep 6, 2024

What went wrong? 🤔

There is a real-time feature where the upvotes count gets updated. However, when the number grew so large, it gets shortened (for ex. 10.1k) and every new upvote flips the counter but the shortened value stays the same. Understandable, as the count might have not yet reached 10.2k.

Screen.Recording.2024-08-29.at.9.55.06.mov

Expected Behavior

No response

Steps to Reproduce Issue

It is difficult to reproduce as it needs a post with high amount of upvotes, but the video should explain how it happens.

Solution Proposed

Validate first whether we should show the animation of flipping the count.

Screenshots

![DESCRIPTION](LINK.png)

Environment

No response

Browsers

No response

OS

No response

Version of daily.dev

No response

Additional Context

No response

Code of Conduct

  • I follow the conditions of this project.
@sshanzel sshanzel changed the title 🐛 BUG: 🐛 BUG: avoid upvote text animation if not necessary Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant