Skip to content

Commit

Permalink
Merge pull request #8448 from Santhosh-Sellavel/audit_fix_eye_button_…
Browse files Browse the repository at this point in the history
…outline
  • Loading branch information
thienlnam authored Apr 1, 2022
2 parents b60a75c + 901bc0a commit ce6363c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/TextInput/BaseTextInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ class BaseTextInput extends Component {
this.props.inputStyle,
!hasLabel && styles.pv0,
this.props.prefixCharacter && StyleUtils.getPaddingLeft(this.state.prefixWidth + styles.pl1.paddingLeft),
this.props.secureTextEntry && styles.secureInput,
]}
multiline={this.props.multiline}
maxLength={this.props.maxLength}
Expand Down
5 changes: 5 additions & 0 deletions src/styles/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,11 @@ const styles = {
margin: 1,
},

secureInput: {
borderTopRightRadius: 0,
borderBottomRightRadius: 0,
},

textInput: {
backgroundColor: themeColors.componentBG,
borderRadius: variables.componentBorderRadiusNormal,
Expand Down

0 comments on commit ce6363c

Please sign in to comment.