sramezani / radio-buttons-react-native

Animated radio buttons component for react native
MIT License
84 stars 41 forks source link

Previously selected radio buttons not getting disabled on selecting another radio button after upgrading to SDK 47 #26

Open adii9 opened 1 year ago

adii9 commented 1 year ago

After upgrading the SDK 44 to SDK 47, the previously selected radio button is not getting disabled when I am selecting another button. Find my code below: <RadioButtonRN data={data} initial = {flag} value={Gender} selectedBtn={(data) => setGender(data.label)} icon={ <Icon name="check-circle" size={25} color="#00ACC1" /> } animationTypes={['shake']} activeColor="#FFFAFA" textStyle={styles.textstyle} boxStyle={styles.boxstyle} style={styles.options} /> Is anyone else facing this issue?

image

yasir-syed commented 1 year ago

facing same issue, found a fix ?

daviddunnington commented 1 year ago

I'm also facing the same issue but only when using a custom icon.

parazitenew commented 1 year ago

I'm also facing the same issue but only when using a custom icon.

check again, even when you don't use custom icon, the button becomes grey, the selected one blue, but the previous one grey.

frederiksen commented 1 year ago

Anyone found a solution?

butri71 commented 1 year ago

same issue with me on SDK47 without icon

alamzaib-farooq commented 5 months ago

Same issue.