-
Notifications
You must be signed in to change notification settings - Fork 156
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
disableAfterRate cannot enter a lower rating #53
Comments
yeah it work internally but not visually, comment this code and you will be fine : |
Or alter method paintStars() and add these two "Elses"
|
hello, where should i put it ? |
Don't forget to set disableAfterRate to false if your still having this problem after making these changes. |
When setting
disableAfterRate
tofalse
, and rating 5/5, then trying to rate 3/5, the rating is set in the callback, but the stars shown on the screen will stay on 5/5, even though the rating changed to 3/5.This can be tested on the demo page, on the "On hover event" demo, since this one has the
disableAfterRate
flag disabledhttps://nashio.github.io/star-rating-svg/demo/
Can be tested also with this snippet:
The text was updated successfully, but these errors were encountered: