-
Notifications
You must be signed in to change notification settings - Fork 193
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
ratingBackgroundColor appears to the right of the star component #109
Comments
@yangfreezy
I was facing the exact problem in this package. So i just created small package(readonly ratings) |
Strange.. |
@ui-ninja sorry - i think there was a miscommunication. the screenshot and issue above is with the react-native-rating package. I just switched over to your package, react-native-rating-element and it works perfectly! thanks so much for actively promoting your package and commenting on it :D |
Glad it could help 👍 |
@ui-ninja Your package worked like a charm .. Thanks for posting it! |
I got same issue :) |
Having the same issue on android |
See screenshot below. I think there may be an issue where the width of whatever view ratingBackgroundColor is inside does not entirely align with the view that contains the tintColor, resulting in a slight sliver of the ratingBackgroundColor div appearing to the right of the star component.
<Rating type="custom" ratingColor={colors.orange} ratingBackgroundColor={colors.progressBarBackground} ratingCount={5} tintColor={backgroundColor || 'white'} imageSize={20} startingValue={rating || 0} readonly fractions={1} onFinishRating={onPress} />
The text was updated successfully, but these errors were encountered: