The dropdown picker scroll inside another scroll is not working
See original GitHub issueDescribe the bug The dropdown picker scroll inside another scroll is not working
To Reproduce Steps to reproduce the behavior:
Place ScrollView above DropdownPicker:
<View style={{ flex: 1 }}>
<ScrollView nestedScrollEnabled={true} horizontal={false}>
<View style={{ width: 200, height: 200 }}></View>
<View style={{ width: 200, height: 200 }}></View>
<DropDownPicker
items={allCategories}
searchable={true}
searchablePlaceholder="Search"
searchableError={() => <CText fontSize={16}>Not found</CText>}
searchableStyle={{ fontSize: 18 }}
defaultValue={productCategory}
containerStyle={{ height: 40 }}
style={{ backgroundColor: '#fafafa' }}
dropDownStyle={{ backgroundColor: '#fafafa' }}
dropDownMaxHeight={300}
labelStyle={{ fontSize: 20 }}
itemStyle={{
justifyContent: 'flex-start'
}}
/>
<View style={{ width: 200, height: 200 }}></View>
<View style={{ width: 200, height: 200 }}></View>
<View style={{ width: 200, height: 200 }}></View>
<View style={{ width: 200, height: 200 }}></View>
<View style={{ width: 200, height: 200 }}></View>
<View style={{ width: 200, height: 200 }}></View>
<View style={{ width: 200, height: 200 }}></View>
</ScrollView>
</View>
- OS: Android
- Package version 3.1.9
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:23 (2 by maintainers)
Top Results From Across the Web
react-native-dropdown-picker scroll inside another scroll is not ...
If you are facing issue with nested scrolling. Use ScrollView of react-native-gesture-handler with nestedScrollEnabled={ ...
Read more >List Modes | React Native Dropdown Picker - GitHub Pages
If this happens to you and you only have a few items, consider using the SCROLLVIEW mode. Otherwise you have to use the...
Read more >Scrolling through Dropdown-Menu Does Not Work ... - Support
Open the Windows Settings by clicking on the gearwheel symbol in the Windows Start Menu.
Read more >react-native-dropdown-picker bug - Expo Snack
react-native-dropdown-picker bug. zIndex and zIndexInverse not working with disabled prop for multiple pickers. Open with Expo Go. Open in editor ...
Read more >CSS Drop Down Menu hidden behind horizontal scrollbar
That won't work I'm afraid as the scrollbar is only the mechanism that allows you to scroll. It's the overflow:auto that stops the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi, I had the same issue, the library provides listMode props. Adding this props solved my issue.
check this documentation for more information https://hossein-zare.github.io/react-native-dropdown-picker-website/docs/next/advanced/list-modes#scrollviewprops
I am also facing the same issue!!