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

AirbnbRating size and animation #151

Open
minafa96 opened this issue Apr 24, 2021 · 10 comments
Open

AirbnbRating size and animation #151

minafa96 opened this issue Apr 24, 2021 · 10 comments

Comments

@minafa96
Copy link

I'm using 'AirbnbRating' in android 9 and I see no animation when choosing a star.

also, I have changed the size to 32, default selected stars are fine but when selecting another star its size changes to the default size.

any idea why?

@mraffiramdhani
Copy link

+1

1 similar comment
@Andriiklymiuk
Copy link

+1

@hstorz
Copy link

hstorz commented Sep 20, 2021

It works until version 7.6.1. In later versions the press animation is broken in AirbnbRating. Initially the stars are shown with a small icon and after pressing a star it is shown with a big icon and stays like that.

@Sephaq
Copy link

Sephaq commented Oct 27, 2021

It works until version 7.6.1. In later versions the press animation is broken in AirbnbRating. Initially the stars are shown with a small icon and after pressing a star it is shown with a big icon and stays like that.

I'm using this library as part of React-native-elements and I can confirm this issue on 8.0.4

@MagnasiePro
Copy link

+1

1 similar comment
@kimho
Copy link

kimho commented Jan 29, 2022

+1

@daveyjones
Copy link

Downgrading to 7.6.1 fixes the start sizing issues for me.

@DonRyu
Copy link

DonRyu commented Jul 15, 2022

7.6.1 fix the problem but the props are very different from 8.1.0.

@pierregambaud
Copy link

Downgrading to 7.6.1 fixes the start sizing issues for me.

Thanks for your workaround, as the bug is still in 8.1.0 😬

@reddigitall
Copy link

You can use a custom option:

<Rating
type="custom"
ratingImage={seeker}
ratingColor="#FF8200"
ratingBackgroundColor="#E0E2EC"
ratingCount={30}
imageSize={10}
jumpValue={3}
// showRating={true}
// tintColor={'blue'}
onFinishRating={this.ratingCompleted}
style={appStyles.rating}
/>

Screen Shot 2023-05-29 at 11 52 09 AM

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