Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix search input

ammarahm-edabb7036f8751
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}
/>
</View>