From 579bdeb8a5e6adb776e251cb79bac20e96381982 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Tue, 5 Jul 2016 18:52:44 -0700 Subject: [PATCH] [fix] setNativeProps on TextInput --- src/components/TextInput/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/TextInput/index.js b/src/components/TextInput/index.js index 4d88832c..a804766d 100644 --- a/src/components/TextInput/index.js +++ b/src/components/TextInput/index.js @@ -8,6 +8,7 @@ import StyleSheet from '../../apis/StyleSheet' import Text from '../Text' import TextareaAutosize from 'react-textarea-autosize' import TextInputState from './TextInputState' +import UIManager from '../../apis/UIManager' import View from '../View' import ViewStylePropTypes from '../View/ViewStylePropTypes' @@ -68,7 +69,7 @@ class TextInput extends Component { } setNativeProps(props) { - this.refs.input.setNativeProps(props) + UIManager.updateView(this.refs.input, props, this) } render() {