Skip to content

Commit

Permalink
fix: android textInput underlineColorAndroid, #391
Browse files Browse the repository at this point in the history
  • Loading branch information
silentcloud committed Oct 31, 2016
1 parent 1e7a1db commit 8095c92
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/input-item/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export default class InputItem extends React.Component<InputItemProps, any> {
secureTextEntry={type === 'password'}
clearButtonMode={clear ? 'while-editing' : 'never'}
editable={editable}
underlineColorAndroid="transparent"
/>
{extra ? <TouchableWithoutFeedback
onPress={onExtraPress}
Expand Down
1 change: 1 addition & 0 deletions components/search-bar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export default class SearchBar extends React.Component<SearchBarProps, SearchBar
ref="searchInput"
onSubmitEditing={this.onSubmit}
clearButtonMode="always"
underlineColorAndroid="transparent"
/>
<Image
source={require('../style/images/search.png')}
Expand Down
1 change: 1 addition & 0 deletions components/textarea-item/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ export default class TextAreaItem extends React.Component<TextAreaItemProps, any
maxLength={maxLength}
clearButtonMode={clear ? 'while-editing' : 'never'}
editable={editable}
underlineColorAndroid="transparent"
/>
{error ? <TouchableWithoutFeedback onPress={this.onErrorClick}>
<View style={[TextAreaItemStyle.errorIcon]}>
Expand Down

0 comments on commit 8095c92

Please sign in to comment.