mirror of
https://github.com/standardnotes/mobile.git
synced 2026-04-21 14:46:55 -04:00
Dismiss keyboard on search submit
This commit is contained in:
@@ -39,6 +39,7 @@ export default class NoteList extends Component {
|
||||
onChangeText={this.props.onSearchChange}
|
||||
onCancel={this.props.onSearchCancel}
|
||||
onDelete={this.props.onSearchCancel}
|
||||
blurOnSubmit={true}
|
||||
backgroundColor={GlobalStyles.constants().mainBackgroundColor}
|
||||
titleCancelColor={GlobalStyles.constants().mainTintColor}
|
||||
keyboardDismissMode={'interactive'}
|
||||
@@ -96,7 +97,7 @@ export default class NoteList extends Component {
|
||||
maxToRenderPerBatch={6}
|
||||
keyboardDismissMode={'interactive'}
|
||||
keyboardShouldPersistTaps={'always'}
|
||||
refreshControl={!this.props.hasRefreshControl ? null :
|
||||
refreshControl={!this.props.hasRefreshControl ? null :
|
||||
<RefreshControl
|
||||
refreshing={this.props.refreshing}
|
||||
onRefresh={this.props.onRefresh}
|
||||
|
||||
Reference in New Issue
Block a user