-
Notifications
You must be signed in to change notification settings - Fork 48
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
Toggle MidColor error #2
Comments
Having the same issue. |
I was finally able to figure out why this issue occurs.
I've found that 500ms is the optimal time, any less and you'll still mess up the animation. Setting the animation to off doesn't help either. One issue with this fix is that if the switch is toggled really fast, there'll be a slight delay in processing the input. |
I set my colors as following :
midColor = #878787
offColor = #1ABC9C
onColor = #F98162
For on State and off State it's working really good, but when I call toggleMid() it shows something like below
It's a great library anyway
The text was updated successfully, but these errors were encountered: