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

showBadge is slow to respond to change when animation is on #130

Open
ekottifiok opened this issue Mar 4, 2024 · 0 comments
Open

showBadge is slow to respond to change when animation is on #130

ekottifiok opened this issue Mar 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ekottifiok
Copy link

Environment

Package version: badges: ^3.1.2
Platform: all
Device information: all

Description

What you'd like to happen: I would like the showBadge to respond faster when value is changed to false, especially when the animation is turned on

Alternatives you've considered: wrapping it with a conditional ternary operator seems to do the trick

Images: this seems to do the trick
code

@ekottifiok ekottifiok added the enhancement New feature or request label Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant