fix password focus, bump version to -beta3
This commit is contained in:
@@ -19,7 +19,9 @@ export default class VisiblePassword extends React.PureComponent {
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
this.inputRef.current.focus();
|
||||
if (this.props.autoFocus) {
|
||||
this.inputRef.current.focus();
|
||||
}
|
||||
}
|
||||
|
||||
handeTextChange(e) {
|
||||
|
||||
Reference in New Issue
Block a user