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

Problem with hover and half star #211

Open
ghost opened this issue Feb 17, 2018 · 2 comments
Open

Problem with hover and half star #211

ghost opened this issue Feb 17, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Feb 17, 2018

There is a bug when half option is true. When user hovers the second half of the star (for the example fifth star) and clicks, if the rating is > 4.5 user will see rating of 4 which is not correct, it must be 5, because the two halves of fifth star are hovered and user suggests that this is rating of 5. I tried with round option, but even if I do this:
round : { down: .1, up: .51 },
the bug still exists if the clicked score is 4.5703125, user needs to click minimum 4.6, which is not correct. If star or half star is hovered, then on click this must be the rating.

@tfantina
Copy link
Contributor

I can't seem to duplicate this issue.

@vydyas
Copy link

vydyas commented Sep 30, 2022

I can work on this issue as part of hacktoberfest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants