-
Notifications
You must be signed in to change notification settings - Fork 155
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
Dropdown Component is not visible in Android #260
Comments
how did you import the dropdown component? i fixed my issue by adding braces import { Dropdown } from 'react-native-element-dropdown'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The dropdown component is not opening in the Android emulator, while it is functioning properly in the iOS simulator. Is anyone else experiencing the same issue?
<Dropdown selectedTextProps={{numberOfLines: 3}} style={{height: 72, paddingHorizontal: 18, flex: 1, width: '100%'}} selectedTextStyle={{fontSize: 16, fontWeight: '500'}} placeholderStyle={{ color: '#6B7280', fontWeight: '500', fontSize: 16, }} containerStyle={{ paddingHorizontal: 6, backgroundColor: '#FFFFFF', shadowColor: '#000', shadowOffset: { width: 0, height: 4, }, shadowOpacity: 0.09, shadowRadius: 16, borderRadius: 14, elevation: 10, }} itemTextStyle={{ fontSize: 16, fontWeight: '500', }} value={selectedValue} data={data} labelField="label" valueField="value" maxHeight={215} placeholder={placeholderText} onChange={(item: Item) => setSelectedValue(item)} renderRightIcon={() => ( <ImageBackground source={AngleDownIcon} style={{width: 22, height: 22}} imageStyle={{tintColor: '#AFB42B'}} /> )} />
The text was updated successfully, but these errors were encountered: