diff --git a/src/components/TextInputFocusable/index.js b/src/components/TextInputFocusable/index.js index f89ea10a211e..bef213b31d27 100644 --- a/src/components/TextInputFocusable/index.js +++ b/src/components/TextInputFocusable/index.js @@ -110,7 +110,6 @@ class TextInputFocusable extends React.Component { } if (prevProps.defaultValue !== this.props.defaultValue) { this.updateNumberOfLines(); - this.moveCursorToEnd(); } } @@ -199,19 +198,6 @@ class TextInputFocusable extends React.Component { }); } - /** - * Move cursor to end by setting start and end - * to length of the input value. - */ - moveCursorToEnd() { - this.setState({ - selection: { - start: this.props.defaultValue.length, - end: this.props.defaultValue.length, - }, - }); - } - focusInput() { this.textInput.focus(); }