From abb7036f8751cbb0d5dfe2c1593ca57e39e669da Mon Sep 17 00:00:00 2001 From: ammarahm-ed Date: Thu, 17 Dec 2020 11:57:37 +0500 Subject: [PATCH] fix search input --- apps/mobile/src/components/SearchInput/index.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/mobile/src/components/SearchInput/index.js b/apps/mobile/src/components/SearchInput/index.js index 6b66a1c90..2b270b5e6 100644 --- a/apps/mobile/src/components/SearchInput/index.js +++ b/apps/mobile/src/components/SearchInput/index.js @@ -43,20 +43,21 @@ export const SearchInput = (props) => { color: colors.pri, fontSize: SIZE.xl, flexGrow: 1, - flex: 1, flexWrap: 'wrap', padding: 0, + paddingVertical: 0, + paddingHorizontal: 0, margin: 0, marginBottom: Platform.OS === 'ios' ? 5 : 0, }} textAlignVertical="center" onChangeText={onChangeText} - numberOfLines={1} + multiline={false} onSubmitEditing={async () => { await SearchService.search(searchTerm); }} enablesReturnKeyAutomatically - placeholder={searchState} + placeholder="Type a keyword" placeholderTextColor={colors.icon} />