Skip to content

Commit

Permalink
Revert "Add focus setting when opening the circle column"
Browse files Browse the repository at this point in the history
This reverts commit 3a93ac99312a13b68b7edc2b81313fb0ffb7bcdc.
  • Loading branch information
noellabo committed Sep 5, 2020
1 parent 0a1bc83 commit dca71fa
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ class NewCircleForm extends React.PureComponent {
onSubmit: PropTypes.func.isRequired,
};

componentDidMount() {
this.input.focus();
}

handleChange = e => {
this.props.onChange(e.target.value);
}
Expand All @@ -49,10 +45,6 @@ class NewCircleForm extends React.PureComponent {
this.props.onSubmit();
}

setRef = (c) => {
this.input = c;
}

render () {
const { value, disabled, intl } = this.props;

Expand All @@ -70,7 +62,6 @@ class NewCircleForm extends React.PureComponent {
disabled={disabled}
onChange={this.handleChange}
placeholder={label}
ref={this.setRef}
/>
</label>

Expand Down

0 comments on commit dca71fa

Please sign in to comment.