Skip to content

Selection requires double click if onClick method provided #153

@vedatsengul

Description

@vedatsengul

Hello,

If I provide an onClick method to get the selected rating, it requires another click to the same value although it gets the rating in the first click. You can check it from this link:
https://stackblitz.com/edit/react-buosnw

In summary, if you click a rating, it is not turning to a full symbol. If you click the same rating again, then it turns to a full symbol. This is not happening if there is no onClick method.

Thanks

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