Skip to content

Problem with hover and half star  #211

Open
@ghost

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions