ninjasort / react-star-rating

[Looking for Maintainers (email me)]: A simple star rating component built with React.
MIT License
173 stars 55 forks source link

[Bugs] Rating Issues - Editing Issues #14

Open TimonSotiropoulos opened 9 years ago

TimonSotiropoulos commented 9 years ago

Rating set to 0 - There was a bug where if the rating was set to 0 and you had editing disabled, it would still allow editing. Fixed

Inconsistent Editing Function - The editing boolean inside the constructor wasn't setting the passed editing property, it was just always defaulting to true. Added an if statement for this in the constructor but there may be a better work around.

Editing Cursor - made a change so that if editing is disabled, we do not still have the pointer cursor that makes it look like we can edit the rating.

Great Component though!