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

Default value or score not filling stars when component renders first time and also not filling first star when default value is set #10

Open
aik117 opened this issue Sep 18, 2020 · 0 comments

Comments

@aik117
Copy link

aik117 commented Sep 18, 2020

Thanks for this library.

I have a problem when using StarRatingView. When the component first renders the stars are not filling even when the score or value is set. Also when value is set and i swipe the stars, the first star is not filling with colour. Here is my code

`<StarRatingView
starStyle = {{
width : 50,
height : 50
}}
readOnly = { false }
//dontShowScore = { true } // true: not show the score text view
continuous = { true }
//score = { rating }
allowsHalfStars = { true }
accurateHalfStars = { true }
//maximumValue = { 5 }
//minimumValue = { 0 }
//spacing = { 10 }
value = { rating }
onStarValueChanged = {(changedScore) => ratingCompleted(changedScore, "qualityofservicerating") }
/>`

Simulator Screen Shot - iPhone 8 - 2020-09-18 at 11 55 30
Simulator Screen Shot - iPhone 8 - 2020-09-18 at 11 57 32

Can you please look into this issue. Thanks.

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

1 participant