Open mirco123 opened 1 year ago
I've same issue
Same issue here
Same issue here react-native-autocomplete-dropdown": "^2.1.0",
Same issue here react-native-autocomplete-dropdown": "^2.1.0",
this problem started for me when i updated all my packeges, so i tested all and using the react-native@0.71 or higher the problem appears, so by using react-native@0.70.9(latest stable version) it work fine
Same issue here react-native-autocomplete-dropdown": "^2.1.0",
this problem started for me when i updated all my packeges, so i tested all and using the react-native@0.71 or higher the problem appears, so by using react-native@0.70.9(latest stable version) it work fine
Good catch, thanks. I'll take a look once I'm done with my business
I downgraded to react-native@0.70.9 and it didn't work for me
Got fixed by wrapping App.tsx with GestureHandlerRootView
import { GestureHandlerRootView } from 'react-native-gesture-handler';
return (
<GestureHandlerRootView style={{ flex: 1 }}>
...
</GestureHandlerRootView>)
And changed Flatlist import in node_modules/react-native-autocomplete-dropdown/src/Dropdown.js from
import { FlatList } from 'react-native';
to
import { FlatList } from 'react-native-gesture-handler';
so patch file patches/react-native-autocomplete-dropdown+2.1.1.patch
look like this:
diff --git a/node_modules/react-native-autocomplete-dropdown/src/Dropdown.js b/node_modules/react-native-autocomplete-dropdown/src/Dropdown.js
index 003dc6d..9ae27b5 100644
--- a/node_modules/react-native-autocomplete-dropdown/src/Dropdown.js
+++ b/node_modules/react-native-autocomplete-dropdown/src/Dropdown.js
@@ -1,5 +1,6 @@
import React, { memo, useMemo } from 'react'
-import { StyleSheet, FlatList, View, Keyboard } from 'react-native'
+import { StyleSheet, View, Keyboard } from 'react-native'
+import { FlatList } from 'react-native-gesture-handler';
export const Dropdown = memo(
({
please try install v3. It requires additional steps, please read updated docs
please try install v3. It requires additional steps, please read updated docs
@onmotion you forgot to update examples ^_^
v3 is working fine, gj!
please try install v3. It requires additional steps, please read updated docs
@onmotion you forgot to update examples ^_^
What's wrong with examples?
please try install v3. It requires additional steps, please read updated docs
@onmotion you forgot to update examples ^_^
What's wrong with examples?
@onmotion There are still vector icons usage in example with fetch
Sorry, can't see, please send me a link
aah in the readme, damn. Thanks
The following code works fine under iOS, it also displays correctly on Android but the suggestion list is not scrollable. Btw. this is the example from the official documentation only enhanced by more data and it is not working as expected. Can anyone help?
`import { AutocompleteDropdown } from 'react-native-autocomplete-dropdown'; . . .
return (