From dba4688b6cf3a4ca37564b79765861bad7406e1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arda=20Sentu=CC=88rk?= Date: Tue, 4 Jul 2023 11:26:55 +0200 Subject: [PATCH] fix: a space error between two inputs - added not to show the results if `inputValueCitySelected` is `true` to the city `Autocomplete` component to solve the problem of the space between the two inputs that occurs if there are more suggestions related to the selected city name after a place is selected from the city input SVA-833 --- src/screens/WasteCollectionScreen.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/screens/WasteCollectionScreen.js b/src/screens/WasteCollectionScreen.js index 6ef7b4e6f..5831b65b0 100644 --- a/src/screens/WasteCollectionScreen.js +++ b/src/screens/WasteCollectionScreen.js @@ -351,6 +351,7 @@ export const WasteCollectionScreen = ({ navigation }) => { keyboardShouldPersistTaps: 'handled', renderItem: inputValueCitySelected ? null : renderSuggestionCities }} + hideResults={inputValueCitySelected} listStyle={styles.autoCompleteList} onChangeText={(text) => { setInputValueCitySelected(false);