Skip to content

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

@aik117

Description

@aik117

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.

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