Texinput documentation improvement

Summary:
To my mind this feature should be documented as here lots of issues can happen potentially.
Closes https://github.com/facebook/react-native/pull/10706

Differential Revision: D4119506

fbshipit-source-id: 54f9738ea2308144a05678fd1897f529f260966c
This commit is contained in:
aybb 2016-11-02 13:46:39 -07:00 committed by Facebook Github Bot
parent 7f56907d8f
commit 68c61203ac
1 changed files with 7 additions and 0 deletions

View File

@ -160,6 +160,13 @@ const DataDetectorTypes = [
* in the correct position, or to not display the border by setting
* `underlineColorAndroid` to transparent.
*
* Note that on Android performing text selection in input can change
* app's activity `windowSoftInputMode` param to `adjustResize`.
* This may cause issues with components that have position: 'absolute'
* while keyboard is active. To avoid this behavior either specify `windowSoftInputMode`
* in AndroidManifest.xml ( https://developer.android.com/guide/topics/manifest/activity-element.html )
* or control this param programmatically with native code.
*
*/
const TextInput = React.createClass({
statics: {