react-native-dropdown-picker
react-native-dropdown-picker copied to clipboard
Scroll is not working on android
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch [email protected]
for the project I'm working on.
Here is the diff that solved my problem:
diff --git a/node_modules/react-native-dropdown-picker/src/components/Picker.js b/node_modules/react-native-dropdown-picker/src/components/Picker.js
index 9bbacc7..bc84de6 100644
--- a/node_modules/react-native-dropdown-picker/src/components/Picker.js
+++ b/node_modules/react-native-dropdown-picker/src/components/Picker.js
@@ -14,10 +14,10 @@ import {
TouchableOpacity,
Text,
Image,
- FlatList,
+ // FlatList,
TextInput,
Dimensions,
- ScrollView,
+ // ScrollView,
Modal,
ActivityIndicator,
BackHandler,
@@ -25,6 +25,8 @@ import {
StyleSheet,
} from 'react-native';
+import { FlatList, ScrollView } from 'react-native-gesture-handler';
+
const { height: WINDOW_HEIGHT } = Dimensions.get('window');
import Colors from '../constants/colors';
This issue body was partially generated by patch-package.
I'm having the same issue.
Same issue for me
Same
Same using 5.4.6
same
https://github.com/hossein-zare/react-native-dropdown-picker/issues/647#issuecomment-1502399905
@jobrdelivery Thanks, it works perfectly
@hossein-zare Could you please consider this solution?
sry, i have made my own dropdown picker
@hossein-zare I am having the same issue. Makes package unusable. Urgently need a release. Solution is already suggested at the top. Thanks for hard work
having the exact issue......
use the "react-native-dropdown-picker": "^5.4.7-beta.1",
In my case, I fixed this issue with these steps: 1- My project already had react-native-gesture-handler in version 2.4.0; 2- I installed react-native-dropdown-picker@^5.4.7-beta.1; 3- I placed the z-index in the view that surrounds the DropDown component (only here);
Voila, everything works perfectly now
Hi all, Sorry for my late reply 😶
I'll release a new version soon.
Does anyone have problems with the provided solution?
Can you release please?
@thomasviaud releases are great but with open-source + node there is no need to helplessly wait around - either https://github.com/ds300/patch-package or https://yarnpkg.com/features/patching and move on yes?
Still not working for me