zubairpaizer / react-native-searchable-dropdown

Searchable Dropdown
148 stars 98 forks source link

Listdata auto close when glide twice. #45

Open Duya3fithou opened 4 years ago

Duya3fithou commented 4 years ago

I nest searchable-dropdown in KeyboardAwareScrollView and add props keyboardShouldPersistTaps="handled" for it. I take 2 issue.

  1. Listdata auto close when glide twice.
  2. Before pick first item, must pick twice with respect to the remaining items . They just show up

Can someone fix this error. Tks

jsmitrah commented 4 years ago

Hi @Duya3fithou, Have you fixed the list data autoclose when gliding twice issue? Me too facing the same issue in iOS. Please share if you have any solution for this.

Duya3fithou commented 4 years ago

Hi bro. I think becase searchable-dropdown is scrollview, and KeyboardAwareScrollView too, we could not nest them. Because they don't know which one is affected when doing the scrolling. solution for me is used custom keyboard instead KeyboardAwareScrollView. Hope help you.

jsmitrah commented 4 years ago

Thanks @Duya3fithou . I will try with custom keyboard.

ggunti commented 4 years ago

Same happens at me and I don't use KeyboardAwareScrollView. I have a ScrollView and inside it the SearchableDropdown. I use keyboardShouldPersistTaps="handled" (ScrollView) and listProps={{ nestedScrollEnabled: true }} (SearchableDropdown)

Duya3fithou commented 4 years ago

Same happens at me and I don't use KeyboardAwareScrollView. I have a ScrollView and inside it the SearchableDropdown. I use keyboardShouldPersistTaps="handled" (ScrollView) and listProps={{ nestedScrollEnabled: true }} (SearchableDropdown)

Because you don't own any textinput on scrollview, you don't need KeyboardAwareScrollView yet