react-native-select-pro icon indicating copy to clipboard operation
react-native-select-pro copied to clipboard

Error on search not exist word

Open shahabt24 opened this issue 2 years ago • 4 comments

Hi, I have a problem in searching, for example we have three item as: [ {label: 'number one', value: 1}, {label: 'number two', value: 2}, {label: 'number three', value: 3} ]

when I search "o" everything is good but when I search "k", I get an error what should I have to do?

shahabt24 avatar Aug 03 '22 04:08 shahabt24

Hi @shahabt24

I can't reproduce your problem. Look here https://snack.expo.dev/@irekrog/smelly-beef-jerky-test, everything is ok.

irekrog avatar Aug 03 '22 09:08 irekrog

Hi @shahabt24 , can you provide a screenshot of that behaviour along with error message ?

kkaplinski avatar Aug 11 '22 12:08 kkaplinski

Closing due to inactivity.

kkaplinski avatar Aug 16 '22 09:08 kkaplinski

Hi, sorry for delay. This is the way I got error: 1: search three 2: select the third option 3: close the dropdown 4: focus on input 5: start to delete characters 6: you will get error WhatsApp Image 2022-08-16 at 7 04 16 PM

<Select
    ref={languageRef}
    searchable={true}
    clearable={true}
    animated={false}
    scrollToSelectedOption={true}
    options={data}
    onSelect={onLanguageItemPressed}/>

And also this can be done by scrollToSelectedOption={false}

shahabt24 avatar Aug 16 '22 14:08 shahabt24