Fix for search. (#1213)

This commit is contained in:
Martin Kraft 2017-11-27 17:52:30 -05:00 committed by Harrison Healey
parent dbe3fab980
commit a3888faa7e

View file

@ -605,6 +605,12 @@ class Search extends PureComponent {
backArrowSize={28}
/>
</View>
<Autocomplete
ref={this.attachAutocomplete}
onChangeText={this.handleTextChanged}
isSearch={true}
value={value}
/>
<SectionList
ref='list'
style={style.sectionList}
@ -614,12 +620,6 @@ class Search extends PureComponent {
keyboardDismissMode='interactive'
stickySectionHeadersEnabled={Platform.OS === 'ios'}
/>
<Autocomplete
ref={this.attachAutocomplete}
onChangeText={this.handleTextChanged}
isSearch={true}
value={value}
/>
{previewComponent}
</View>
);