n49 / react-stars

A simple star rating component for your React projects :star:
http://developers.n49.com/react-stars/
218 stars 81 forks source link

Half stars doesnt seem to be working #27

Open benoj opened 7 years ago

benoj commented 7 years ago

With half set to true can't seem to get half values to work? see below:

          <ReactStars
             onChange={this.handleRating}
             value={this.state.currentRating}
             count={5}
             half={true}
             size={25}
           />
screen shot 2017-08-17 at 14 56 05
obedparla commented 6 years ago

Having same issue here.

yannickneemaa commented 6 years ago

remove the half={true} part, then it's working

see : https://github.com/n49/react-stars/issues/23

quachsimon commented 6 years ago

Same issue here, I am able to console log the value. It does not render visually however.

I tried to remove the half={true} prop but same result