react-native-ratings icon indicating copy to clipboard operation
react-native-ratings copied to clipboard

AirbnbRating size and animation

Open minafa96 opened this issue 3 years ago • 10 comments

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?

minafa96 avatar Apr 24 '21 16:04 minafa96

+1

mraffiramdhani avatar May 18 '21 02:05 mraffiramdhani

+1

Andriiklymiuk avatar May 25 '21 08:05 Andriiklymiuk

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.

hstorz avatar Sep 20 '21 14:09 hstorz

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

Sephaq avatar Oct 27 '21 22:10 Sephaq

+1

MagnasiePro avatar Nov 22 '21 10:11 MagnasiePro

+1

kimho avatar Jan 29 '22 09:01 kimho

Downgrading to 7.6.1 fixes the start sizing issues for me.

daveyjones avatar Mar 29 '22 18:03 daveyjones

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

DonRyu avatar Jul 15 '22 22:07 DonRyu

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 😬

pierregambaud avatar Sep 07 '22 10:09 pierregambaud

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

reddigitall avatar May 29 '23 16:05 reddigitall