You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to my check when we first open dropdown it reserve it state and when we scroll screen and open again the dropdown first open on its previous state and than change its screen position thats why a small glitch is seen on the screen.Kindly suggest solutions.
<ScrollView contentContainerStyle={{ alignItems: 'center' }}>
<FormikDropdownRNE
data={[
{ label: 'Passport', value: 'PASSPORT' },
{ label: 'Chequebook', value: 'CHEQUEBOOK' },
{ label: 'Drivinglicense', value: 'DRIVINGLICENSE' },
{ label: 'NationalId', value: 'NATIONALID' },
{ label: 'Vontingcard', value: 'VOTINGCARD' },
{ label: 'Other', value: 'OTHER' },
]}
itemTextStyle={{ fontSize: 14 }}
search
labelField="label"
valueField="value"
name="idType"
formik={formik}
dropdownType="lg"
selectedTextStyle={{
padding: 15,
fontSize: getRespValue(16),
color: Colors.light.drodown,
marginBottom: getRespValue(3),
}}
placeholder="Select IdType"
placeholderStyle={{
color: 'gray',
padding: 10,
fontSize: getRespValue(16),
marginBottom: 5,
}}
style={{
width: '90%',
borderBottomWidth: 1.5,
borderBottomLeftRadius: 15,
borderBottomRightRadius: 15,
marginBottom: getRespValue(10),
marginTop: getRespValue(10),
}}
showsVerticalScrollIndicator={false}
containerStyle={{
borderRadius: 15,
}}
itemContainerStyle={{
borderBottomWidth: 0.5,
borderColor: 'gray',
borderBottomLeftRadius: 10,
borderBottomRightRadius: 10,
}}
searchPlaceholder="Search..."
iconStyle={{ marginRight: 10 }}
value={formik?.values?.idType}
autoScroll={false}
inputSearchStyle={{ borderRadius: 10 }}
/>
The text was updated successfully, but these errors were encountered: