diff --git a/src/components/html-text-input-ui/html-text-input-ui.android.js b/src/components/html-text-input-ui/html-text-input-ui.android.js index 96b9046542..888ffcf89f 100644 --- a/src/components/html-text-input-ui/html-text-input-ui.android.js +++ b/src/components/html-text-input-ui/html-text-input-ui.android.js @@ -21,31 +21,15 @@ type PropsType = { }; type StateType = { - contentHeight: number, }; class HTMLInputContainer extends React.Component { static scrollEnabled: boolean; - constructor() { - super( ...arguments ); - - this.state = { - contentHeight: 0, - }; - } - - onContentSizeChange = ( event: NativeSyntheticEvent ) => { - this.setState( { contentHeight: event.nativeEvent.contentSize.height } ); - } - render() { return ( - + { this.props.children } diff --git a/src/components/html-text-input-ui/html-text-input-ui.android.scss b/src/components/html-text-input-ui/html-text-input-ui.android.scss index e82ee1b02a..93560154af 100644 --- a/src/components/html-text-input-ui/html-text-input-ui.android.scss +++ b/src/components/html-text-input-ui/html-text-input-ui.android.scss @@ -19,3 +19,7 @@ padding-top: $padding; padding-bottom: $padding; } + +.scrollView { + flex: 1; +}