From 2ca2f87a8277954ff7d2a6ae029cc395ddca9b37 Mon Sep 17 00:00:00 2001 From: Antoine Rousseau Date: Sun, 31 Jul 2016 07:50:16 -0700 Subject: [PATCH] Fix onLayout support in for Android (same than iOS fix: #8042) Summary: See #8042: exactly the same bug and fix on Android **Test plan** ```jsx ``` Closes https://github.com/facebook/react-native/pull/9113 Differential Revision: D3647808 Pulled By: mkonicek fbshipit-source-id: 252a610e26a72a73411c3407faedea0477bee54e --- Libraries/Components/TextInput/TextInput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Components/TextInput/TextInput.js b/Libraries/Components/TextInput/TextInput.js index 8a08381e91f72f..c78bc20722e452 100644 --- a/Libraries/Components/TextInput/TextInput.js +++ b/Libraries/Components/TextInput/TextInput.js @@ -658,7 +658,6 @@ const TextInput = React.createClass({ onEndEditing={this.props.onEndEditing} onSubmitEditing={this.props.onSubmitEditing} blurOnSubmit={this.props.blurOnSubmit} - onLayout={this.props.onLayout} placeholder={this.props.placeholder} placeholderTextColor={this.props.placeholderTextColor} secureTextEntry={this.props.secureTextEntry} @@ -676,6 +675,7 @@ const TextInput = React.createClass({ return (