From c7ed4a5fcdd423a59a8330d2ee52ef69a1e41c47 Mon Sep 17 00:00:00 2001 From: Rodrigo Nascimento Date: Thu, 10 Aug 2017 17:31:14 -0300 Subject: [PATCH] Add button to clear search field (iOS) --- app/views/roomsList.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/roomsList.js b/app/views/roomsList.js index 5879191a..5c873939 100644 --- a/app/views/roomsList.js +++ b/app/views/roomsList.js @@ -255,6 +255,8 @@ export default class RoomsListView extends React.Component { onChangeText={this.onSearchChangeText} returnKeyType='search' placeholder='Search' + clearButtonMode='while-editing' + blurOnSubmit /> );