From 5b57ce3e761d1419a5398420eb8d098374ffa028 Mon Sep 17 00:00:00 2001 From: Rajat Parashar Date: Thu, 22 Apr 2021 08:03:16 +0530 Subject: [PATCH] fix: remove unnecessary manual focus --- src/components/TextInputFocusable/index.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/components/TextInputFocusable/index.js b/src/components/TextInputFocusable/index.js index 01c038bdb8b5..89b5928742f9 100644 --- a/src/components/TextInputFocusable/index.js +++ b/src/components/TextInputFocusable/index.js @@ -92,7 +92,6 @@ class TextInputFocusable extends React.Component { } componentDidMount() { - this.focusInput(); this.updateNumberOfLines(); // This callback prop is used by the parent component using the constructor to @@ -212,10 +211,6 @@ class TextInputFocusable extends React.Component { }); } - focusInput() { - this.textInput.focus(); - } - render() { const propStyles = StyleSheet.flatten(this.props.style); propStyles.outline = 'none';