react-native-autocomplete-dropdown icon indicating copy to clipboard operation
react-native-autocomplete-dropdown copied to clipboard

Update AutocompleteDropdownContext.tsx

Open AlexCernik opened this issue 1 year ago • 1 comments

fix headerOffset for suggestion list

AlexCernik avatar Oct 11 '24 01:10 AlexCernik

Do you have any scenario of how to reproduce the misbehavior?

onmotion avatar Oct 20 '24 10:10 onmotion

@onmotion Hi, initialValue not work if remotedataset are empty or wait typing

AlexCernik avatar Oct 31 '24 06:10 AlexCernik

@AlexCernik sorry I didn't quite get how this related to the offset value

onmotion avatar Oct 31 '24 07:10 onmotion

@AlexCernik sorry I didn't quite get how this related to the offset value

Sorry, in android suggestion list it appears too low. And I found the problem that if initialValue is indicated and I haven't loaded the dataset yet, initialValue isn't displayed.

AlexCernik avatar Oct 31 '24 07:10 AlexCernik

Sorry, in android suggestion list it appears too low

Is it related to the notched device or any? A screenshot maybe? You can use an expo snack from the readme

initialValue is indicated and I haven't loaded the dataset yet

As the initialValue is chosen from a set of possible values, it should be a part of the dataset

onmotion avatar Oct 31 '24 07:10 onmotion

@onmotion see #135. I think the ideal thing is to save initialValue regardless of whether the dataSet exists, since it must be written to perform the search and obtain that data.

AlexCernik avatar Oct 31 '24 23:10 AlexCernik