moschan / react-native-simple-radio-button

Simple and handy animated radio button component for React Native
MIT License
453 stars 130 forks source link

Android #128

Open bitdelve opened 5 years ago

bitdelve commented 5 years ago

When I use this code in android I have issues with it displaying the first time I go to that screen. If I navigate away and then back it displays. Any ideas? Here is my import statement: import RadioForm, {RadioButton, RadioButtonInput, RadioButtonLabel} from "react-native-simple-radio-button";

<RadioForm
                    radio_props={radio_props}
                    initial={0}
                    formHorizontal={true}
                    labelHorizontal={true}
                    buttonColor={'#2196f3'}
                    animation={true}
                    onPress={(value) => {this.setState({userType:value})}}
                />
mohamed2m2018 commented 4 years ago

Try animation={false} instead of true.