diff --git a/app/components/emoji_picker/__snapshots__/emoji_picker.test.js.snap b/app/components/emoji_picker/__snapshots__/emoji_picker.test.js.snap index c6549a034..93c1f8167 100644 --- a/app/components/emoji_picker/__snapshots__/emoji_picker.test.js.snap +++ b/app/components/emoji_picker/__snapshots__/emoji_picker.test.js.snap @@ -17,54 +17,55 @@ exports[`components/emoji_picker/EmojiPicker should match snapshot 1`] = ` > - + + keyboardAppearance="light" + keyboardShouldPersist={false} + keyboardType="default" + onAnimationComplete={[Function]} + onBlur={[Function]} + onCancelButtonPress={[Function]} + onChangeText={[Function]} + onSelectionChange={[Function]} + placeholder="Search" + placeholderTextColor="rgba(61,60,64,0.5)" + returnKeyType="search" + searchBarRightMargin={0} + searchIconSize={24} + showArrow={false} + showCancel={true} + tintColorDelete="rgba(61,60,64,0.5)" + tintColorSearch="rgba(61,60,64,0.8)" + titleCancelColor="#3d3c40" + value="" + /> + - - + + + + {this.renderListComponent(shorten)} diff --git a/app/components/search_bar/index.js b/app/components/search_bar/index.js index 49e6fc895..b1ba8202b 100644 --- a/app/components/search_bar/index.js +++ b/app/components/search_bar/index.js @@ -38,6 +38,7 @@ export default class Search extends PureComponent { tintColorDelete: PropTypes.string, selectionColor: PropTypes.string, inputStyle: CustomPropTypes.Style, + containerStyle: CustomPropTypes.Style, cancelButtonStyle: CustomPropTypes.Style, autoFocus: PropTypes.bool, placeholder: PropTypes.string, @@ -285,7 +286,7 @@ export default class Search extends PureComponent { } return ( - + {((this.props.leftComponent) ? { return { + flex: { + flex: 1, + }, above: { backgroundColor: theme.mentionBg, top: 40, diff --git a/app/screens/channel_add_members/channel_add_members.js b/app/screens/channel_add_members/channel_add_members.js index 7d0a1859c..99cadb774 100644 --- a/app/screens/channel_add_members/channel_add_members.js +++ b/app/screens/channel_add_members/channel_add_members.js @@ -334,25 +334,27 @@ export default class ChannelAddMembers extends PureComponent { return ( - - + + + + - + + keyboardAppearance="light" + keyboardShouldPersist={false} + keyboardType="default" + onBlur={[Function]} + onCancelButtonPress={[Function]} + onChangeText={[Function]} + onSearchButtonPress={[Function]} + onSelectionChange={[Function]} + placeholder="Search" + placeholderTextColor="rgba(61,60,64,0.5)" + returnKeyType="search" + searchBarRightMargin={0} + searchIconSize={24} + showArrow={false} + showCancel={true} + tintColorDelete="rgba(61,60,64,0.5)" + tintColorSearch="rgba(61,60,64,0.5)" + titleCancelColor="#3d3c40" + value="" + /> + - - + + + + - + + keyboardAppearance="light" + keyboardShouldPersist={false} + keyboardType="default" + onBlur={[Function]} + onCancelButtonPress={[Function]} + onChangeText={[Function]} + onSearchButtonPress={[Function]} + onSelectionChange={[Function]} + placeholderTextColor="rgba(61,60,64,0.5)" + returnKeyType="search" + searchBarRightMargin={0} + searchIconSize={24} + showArrow={false} + showCancel={true} + tintColorDelete="rgba(61,60,64,0.5)" + tintColorSearch="rgba(61,60,64,0.5)" + titleCancelColor="#3d3c40" + value="" + /> + - - + + + + {channelDropdown} - - + + + + - + + keyboardAppearance="light" + keyboardShouldPersist={false} + keyboardType="default" + onBlur={[Function]} + onCancelButtonPress={[Function]} + onChangeText={[Function]} + onSearchButtonPress={[Function]} + onSelectionChange={[Function]} + placeholder="Search" + placeholderTextColor="rgba(61,60,64,0.5)" + returnKeyType="search" + searchBarRightMargin={0} + searchIconSize={24} + showArrow={false} + showCancel={true} + tintColorDelete="rgba(61,60,64,0.5)" + tintColorSearch="rgba(61,60,64,0.5)" + titleCancelColor="#3d3c40" + value="" + /> + - + + keyboardAppearance="light" + keyboardShouldPersist={false} + keyboardType="default" + onBlur={[Function]} + onCancelButtonPress={[Function]} + onChangeText={[Function]} + onSearchButtonPress={[Function]} + onSelectionChange={[Function]} + placeholder="Search" + placeholderTextColor="rgba(61,60,64,0.5)" + returnKeyType="search" + searchBarRightMargin={0} + searchIconSize={24} + showArrow={false} + showCancel={true} + tintColorDelete="rgba(61,60,64,0.5)" + tintColorSearch="rgba(61,60,64,0.5)" + titleCancelColor="#3d3c40" + value="" + /> + - + + keyboardAppearance="light" + keyboardShouldPersist={false} + keyboardType="default" + onBlur={[Function]} + onCancelButtonPress={[Function]} + onChangeText={[Function]} + onSearchButtonPress={[Function]} + onSelectionChange={[Function]} + placeholder="Search" + placeholderTextColor="rgba(61,60,64,0.5)" + returnKeyType="search" + searchBarRightMargin={0} + searchIconSize={24} + showArrow={false} + showCancel={true} + tintColorDelete="rgba(61,60,64,0.5)" + tintColorSearch="rgba(61,60,64,0.5)" + titleCancelColor="#3d3c40" + value="" + /> + - + + keyboardAppearance="light" + keyboardShouldPersist={false} + keyboardType="default" + onBlur={[Function]} + onCancelButtonPress={[Function]} + onChangeText={[Function]} + onSearchButtonPress={[Function]} + onSelectionChange={[Function]} + placeholder="Search" + placeholderTextColor="rgba(61,60,64,0.5)" + returnKeyType="search" + searchBarRightMargin={0} + searchIconSize={24} + showArrow={false} + showCancel={true} + tintColorDelete="rgba(61,60,64,0.5)" + tintColorSearch="rgba(61,60,64,0.5)" + titleCancelColor="#3d3c40" + value="name2" + /> + - + + keyboardAppearance="light" + keyboardShouldPersist={false} + keyboardType="default" + onBlur={[Function]} + onCancelButtonPress={[Function]} + onChangeText={[Function]} + onSearchButtonPress={[Function]} + onSelectionChange={[Function]} + placeholder="Search" + placeholderTextColor="rgba(61,60,64,0.5)" + returnKeyType="search" + searchBarRightMargin={0} + searchIconSize={24} + showArrow={false} + showCancel={true} + tintColorDelete="rgba(61,60,64,0.5)" + tintColorSearch="rgba(61,60,64,0.5)" + titleCancelColor="#3d3c40" + value="" + /> + - + + keyboardAppearance="light" + keyboardShouldPersist={false} + keyboardType="default" + onBlur={[Function]} + onCancelButtonPress={[Function]} + onChangeText={[Function]} + onSearchButtonPress={[Function]} + onSelectionChange={[Function]} + placeholder="Search" + placeholderTextColor="rgba(61,60,64,0.5)" + returnKeyType="search" + searchBarRightMargin={0} + searchIconSize={24} + showArrow={false} + showCancel={true} + tintColorDelete="rgba(61,60,64,0.5)" + tintColorSearch="rgba(61,60,64,0.5)" + titleCancelColor="#3d3c40" + value="" + /> + - - + + + + - - + + + +